Skip to main content
Version: v1.0.0(int)

E018: Remove user from organization

DELETE /api/organizations/current/members/:userId

Revokes a member's access to the organization. Triggered from Settings, Users.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Owner.

Request

No body.

Response — 200 OK

{ "deletedId": "uuid" }

Echo of the deleted user's id.

Errors

HTTPcodeCondition
404not_foundNo such member in this org.
403forbiddenCaller is not the org owner.
409invalid_transitionRemoving the sole owner.

Workflow

Calls W018 Remove user from organization.