post
/public_api/v1/rbac/get_user_group
Retrieve a list of the current user emails associated with one or more user groups in your environment.
Required license: Cortex Xpanse Expander
CURL
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://api-yourfqdn/public_api/v1/rbac/get_user_group" \
-d '{
"request_data" : {
"group_names" : [ "group_names", "group_names" ]
}
}'
Request
Body
optional
Example:
{"request_data":{"group_names":["Group1","Group2"]}}
request_data
required
A dictionary containing the API request fields.
group_names
optional
Array
of strings
List of one or more user group names for which you want the associated users.
Responses