Skip to Content
bpms.ai
ReferenceAccess

Disable a user

POST
/api/v1/access/users/{userId}/disable

Disables a BPMS 3.x user of the tenant of the request, as the 3.x user form does, and revokes at once every session of the user, REST sessions and MCP agent tokens. Requires 6.2.2.2 (edit users). Disabling a disabled user changes nothing.

Authorization

bearer
headerAuthorizationBearer <token>

The token of a session that createSession opened

Path Parameters

userId*integer

Id of the user

Formatint64

Response Body

The user is disabled and its sessions are revoked

Example Request
curl -X POST 'https://bpms.bpms.work/api/v1/access/users/0/disable'
Example Response
Empty