Unify and manage your data

Get All Roles Permissions

This API returns the permissions json of the System role sent in the request.

The Get Permissions by Role Name API request returns the permissions json of the System role sent in the request.

Table 1. System Role Permissions Details
Request Type GET
URL {oauth_uri}/roles/permissions/{roleName}
Parameters roleName: Use a valid System Role name
Access -

Response

JSON Object of that particular roles permission.

Get All Roles Permissions

Request

GET {oauth_uri}/roles/permissions/ROLE_ADMIN_CUSTOMER
Headers: Authorization: <Access-Token>

Response

{
       "roleName": "ROLE_ADMIN_CUSTOMER",
       "servicePermissions": [
           {
               "id": "Auth",
               "resourcePermissions": [
                   {
                       "id": "globalRoles",
                       "allowedPrivileges": [
                           "READ"
                       ]
                   },
                   {
                       "id": "reltioServices",
                       "allowedPrivileges": [
                           "READ"
                       ]
                   },
                   {
                       "id": "monitoring",
                       "allowedPrivileges": [
                           "READ"
                       ]
                   },
                   {
                       "id": "customer",
                       "allowedPrivileges": [
                           "READ",
                           "DELETE",
                           "CREATE",
                           "UPDATE"
                       ]
                   }
               ]
           }
       ]
}