Skip to main content
DELETE
Remove a member (owner/admin only)
Removes a member from the organization.

Permissions

User must be owner or admin to remove members.

Restrictions

  • Owner cannot be removed - This is enforced at the business logic layer
  • Cannot remove yourself if you’re the only admin
  • Removed members lose all access to organization resources

What Happens

  • Member is removed from organization
  • Access to organization resources is revoked
  • Member’s API keys and tokens are invalidated

Example

Events Published

  • MemberRemovedEvent - Triggers cleanup and audit log

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
memberId
string
required

Response

Member removed successfully from the organization.