Skip to main content
GET
Get one UserRole
A User Role is a permission group that assigns one or more global Roles to user accounts across every location they can access; its associated location is organisational only.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the UserRole-Read role.

Path Parameters

integer
required
The Id of the UserRole record to retrieve.

Code Examples

Response

200

integer
ID of the organisational location associated with this User Role; keep it at the top-most root location where possible, as it does not limit the permissions granted..
string
Display value for Business.Name..
string
Required name of this permission group, unique within its organisational location..
integer[]
List of global Role IDs that define this permission group’s permissions; an empty list grants no Role permissions..
integer[]
List of User IDs assigned to this permission group; an empty list assigns the group to no users, and an update replaces the complete assignment list..
integer
Unique record identifier.
string
UUID of the record.
string
Date and time the record was created (ISO 8601).
string
Date and time the record was last updated (ISO 8601).
string
Email of the user who last updated this record.
boolean
Whether the record was recently created.
string
External system identifier.
Example Response