Unify and manage your data

Get Roles

Use the Get Roles API to get the list of roles.

Table 1. Endpoint Details
Request TypeGET
URL/admin/roles/users
ParametersN/A
AccessROLE_ADMIN_CUSTOMER, ROLE_ADMIN_TENANT
Note: For 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 {your-access-token}" -X 
GET {{url}}/admin/roles/users

Response

[
  "ROLE_USER",
  "ROLE_API" 
]