ReferenceAccess
Update a role
PUT
Replaces the name and description of a role of the tenant of the request; its uuid and codes stay. The caller needs 6.2.1.2 (edit roles). The name is unique in the tenant regardless of case.
bearerheader
AuthorizationBearer <token>The token of a session that createSession opened
roleId*integerId of the role
Format
int64The new name and description of the role
application/json- body
description?|Length
length <= 2048name*stringLength
length <= 100The role as stored
application/json- response
description?string|nullid?integerFormat
int64name?stringuuid?string|nullcurl -X PUT 'https://bpms.bpms.work/api/v1/access/roles/0' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "description": "string", "id": 0, "name": "string", "uuid": "string"}