Remove org member
DELETE /api/organizations/{org_id}/members/{user_id}
Remove a member from an organization. Only owners and admins can remove members: - Owners can remove admins and regular users - Admins can only remove regular users Users cannot remove themselves. The last owner cannot be removed.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
org_id | path | string | yes | — |
user_id | path | string | yes | — |
X-Org-Id | header | `string | null` | no |
Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
Operation ID: remove_org_member_api_organizations__org_id__members__user_id__delete