Members and roles
Get a role
Permission
roles:readAuthenticationGET
Returns one system or custom workspace role by role UUID, including its exact permission set, lock state, member count, version metadata, and strong ETag. Cross-workspace role IDs are indistinguishable from missing IDs and supplying any request body is rejected.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidCanonical role record.
application/json- response
id*stringFormat
uuidname*stringLength
1 <= length <= 120description*stringLength
length <= 1000is_system*booleanis_locked*booleanpermissions*array<>Items
items <= 256member_count*integerFormat
int64Range
0 <= valueversion*integerFormat
int64Range
1 <= valuecreated_at*stringFormat
date-timeupdated_at*stringFormat
date-timecurl -X GET 'https://api.kejue.co/v1/roles/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "is_system": true, "is_locked": true, "permissions": [ "string" ], "member_count": 0, "version": 1, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}