GET User Groups Provider
Return the list of all the user groups for specified provider
Request
URI
GET
https://{api_host}/api/v2/user-groups/{provider}
COPY
Path Parameters
string
provider
Required
Authentication provider. Should be ad or vidm
Responses
200
Returns
user.groups.get.response
of type(s)
application/json
[
{
"provider": "ad",
"domain": "vmware.com",
"name": "test-example",
"roleIds": [
"00000000-0000-0000-0000-000000000002",
"53986a8b-410d-45ss-9334-b71ade385c2b"
]
},
{
"provider": "ad",
"domain": "vmware.com",
"name": "test-example2",
"roleIds": []
}
]
400
Authentication group provider should have one of following values - 'ad','vidm' and 'vidb'
Operation doesn't return any data structure
401
Operation doesn't return any data structure
440
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v2/user-groups/{provider}