post
/public_api/v1/rbac/get_roles/
Required license: **Cortex Xpanse Expander**
Retrieve information about one or more roles created in your environment.
CURL
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" -H "authorization: {{api_key}}" -H "x-xdr-auth-id: {{api_key_id}}" \
"https://api-}/public_api/v1/rbac/get_roles/" \
-d '{
"request_data" : {
"role_names" : [ "role_names", "role_names" ]
}
}'
Request headers
authorization
required
String
api-key
Example:
{{api_key}}
x-xdr-auth-id
required
String
api-key-id
Example:
{{api_key_id}}
Request
Body
required
request_data
required
Object
A dictionary containing the API request fields.
role_names
optional
Array
of strings
List of one or more role names in your environment for which you want detailed information.
Responses