Skip to main content
GET
Get one UserRole
A UserRole links a user to a role, granting that user the permissions defined by the role for a specific business location.

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 business linked to this record.
string
Display name of the linked business (read-only).
string
The name value for this user role.
integer[]
List of roles linked to this record.
integer[]
List of users linked to this record.
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