Skip to Content
bpms.ai
ReferenceAccess

Revoke an authority from a role

DELETE
/api/v1/access/roles/{roleId}/authorities/{code}

Removes a BPMS 3.x authority code from a role of the tenant of the request; codes that only start with it stay. The caller needs 6.2.1.2 (edit roles). Revoking a code the role does not have changes nothing.

Authorization

bearer
headerAuthorizationBearer <token>

The token of a session that createSession opened

Path Parameters

roleId*integer

Id of the role

Formatint64
code*string

Authority code, such as 6.2.1.4

Response Body

The role does not have the code

Example Request
curl -X DELETE 'https://bpms.bpms.work/api/v1/access/roles/0/authorities/string'
Example Response
Empty