Skip to Content
bpms.ai
ReferenceAccess

Delete a user

DELETE
/api/v1/access/users/{userId}

Marks a BPMS 3.x user of the tenant of the request as deleted, as the 3.x soft delete does; the row is kept and the user is then not found. Revokes at once every session of the user, REST sessions and MCP agent tokens. Requires 6.2.2.3 (delete users).

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 deleted and its sessions are revoked

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