Browse Community
Help
Log In
Responses(2)
Solutions(1)
nakniks
1 Rookie
•
2 Posts
0
May 11th, 2023 08:00
To answer my own question, you need to use "Get Clients" (/v1/clients), which returns info for all Avamar clients in the given domain/etc..
The CID is returned in the "id" field.
So you could build an array or strip out what you want in a calling script, or to get details for a specific client use filter: name=="vmName"
dynamox
9 Legend
20.4K Posts
May 12th, 2023 07:00
yep, something like this:
/api/v1/clients?domain=/&recursive=true&size=100&filter=domainFqdn!=/MC_RETIRED&fields=id,name
If you have a lot of clients, you will need to "page" through them.
Dell Support Resources
View All
Top
nakniks
1 Rookie
•
2 Posts
0
May 11th, 2023 08:00
To answer my own question, you need to use "Get Clients" (/v1/clients), which returns info for all Avamar clients in the given domain/etc..
The CID is returned in the "id" field.
So you could build an array or strip out what you want in a calling script, or to get details for a specific client use filter: name=="vmName"
dynamox
9 Legend
•
20.4K Posts
0
May 12th, 2023 07:00
yep, something like this:
/api/v1/clients?domain=/&recursive=true&size=100&filter=domainFqdn!=/MC_RETIRED&fields=id,name
If you have a lot of clients, you will need to "page" through them.