ReferenceAccess
Grant an authority to a role
PUT
Adds a BPMS 3.x authority code to a role of the tenant of the request. The caller needs 6.2.1.2 (edit roles) and the code itself. Granting a code the role already has changes nothing.
bearerheader
AuthorizationBearer <token>The token of a session that createSession opened
roleId*integerId of the role
Format
int64code*stringAuthority code, such as 6.2.1.4
The role has the code
curl -X PUT 'https://bpms.bpms.work/api/v1/access/roles/0/authorities/string'Example Response
Empty