Get Customer Role Permissions by Role Name
The Get Permissions by Role Name API request returns all the permissions configured for the specified role, under the particular customer.
Request Type | GET |
URL | {oauth_uri}/customers/{customerId}/roles/permissions/{roleName} |
Parameters |
customerID - Use your unique, valid Customer ID roleName - Use a valid role name |
Access | - |
Response
JSON Object of that particular roles permission.
Getting Permissions by Role Name
Request
GET {oauth_uri}/customers/TestCustomer/roles/permissions/ROLE_RIQ_DEV
Headers: Authorization: Bearer <Access-Token>
Response
{
"roleName": "ROLE_RIQ_DEV",
"servicePermissions": [
{
"id": "Auth",
"resourcePermissions": [
{
"id": "globalRoles",
"allowedPrivileges": [
"READ"
]
},
{
"id": "reltioServices",
"allowedPrivileges": [
"READ"
]
},
{
"id": "monitoring",
"allowedPrivileges": [
"READ"
]
},
{
"id": "customer",
"allowedPrivileges": [
"READ",
"DELETE",
"CREATE",
"UPDATE"
]
}
]
}
]
}