Docs
Remove User
DELETE /Organizations/{organizationId}/users/{userId}
DELETE
/Organizations/{organizationId}/users/{userId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Organization token | x-Organization-Token | Optional | Run **Authorize Organization** in the Authorization folder. |
Removes a user or pending invitation from the organization.
- If
userIdmatches an active member's permission record, that permission is removed. - If
userIdmatches a pending invitation, the invitation is invalidated.
Requires OrganizationAdmin permission. Cannot remove users from a personal organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| organizationId | Guid | Required | The organization to remove the user from. |
| userId | Guid | Required | The user ID or invitation ID to remove. |