v1

latestOpenAPI 3.1.02026-08-06236494759.4 KB
User Roles

Get User Roles

Endpoint to retrieve roles by User ID.

get/business/v2/employees/{userId}/roles

Path parameters

userIdstring required

The User ID.

Example:XMPL1234-000001

Response

The result is the User with their Roles.

idstring

The User ID.

Example response

{
  "id": "XMPL1234-000001",
  "roles": [
    {
      "id": "superAdmin",
      "name": "superAdmin",
      "description": "The SuperAdmin role",
      "scope": "ALL"
    }
  ]
}