Get Roles
Use the Get Roles API to get the list of roles.
Request Type | GET |
URL | /admin/roles/users |
Parameters | N/A |
Access | ROLE_ADMIN_CUSTOMER ,
ROLE_ADMIN_TENANT |
ROLE_ADMIN_CUSTOMER
and ROLE_ADMIN_TENANT
, the API returns the customer-specific roles and system roles where the user belongs.Request
curl -k -H "Accept: application/json" -H
"Authorization: Bearer 1925f793-c092-43ec-b3a3-65ce8e194440" -X
GET {{url}}/admin/roles/users
Response
[
"ROLE_USER",
"ROLE_API"
]