Get a role by ID

GET
/roles/:role_id

Path parameters

role_idstringRequired

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Response

This endpoint returns an object.
idstring
UUID role ID
created_atdatetime
UTC datetime
updated_atdatetime
UTC datetime
namestring
Role name
permissionsobject
Access permissions
status"active" or "deleted"
Allowed values: activedeleted
record status, 'active' by default

Errors