Remove a member

View as Markdown
Removes a membership by `:membershipId` after confirming it belongs to the caller's organization. Authorization: organization administrators only. Returns 204 on success; 404 if it does not exist or is not in this org; 409 when refused — removing yourself (`cannot_remove_self`), the last remaining member (`last_member`), a directory-managed membership (`directory_managed`), or the organization's last owner (`last_owner`).

Authentication

AuthorizationBearer

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

Path parameters

membershipIdstringRequired

Response

Member removed (empty body).