Get Custom User Role

GET {{baseUrl}}/v2/roles/:identifier?identifierType=id

Returns custom user role with given 'id' or 'name'

Request Params

KeyDatatypeRequiredDescription
identifierTypestringType of the identifier that is provided as an in-line parameter. Possible values are 'id' or 'name'

RESPONSES

status: OK

{"requestId":"fugiat cupidatat commodo nulla exercitation","took":0,"data":{"id":"in labore minim sit","name":"dolor ipsum officia ea","extendedRole":"minim irure incididunt ad","grantedRights":["amet occaecat voluptate labore","proident nostrud reprehenderit"],"disallowedRights":["non ea","nostrud"]}}