Skip to main content

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

NameInTypeRequiredDescription
org_idpathstringyes
user_idpathstringyes
X-Org-Idheader`stringnull`no

Responses

StatusDescription
200Successful Response
422Validation Error

Operation ID: remove_org_member_api_organizations__org_id__members__user_id__delete