Team Management

Remove Organization Member

Removes a user from your organization. Also cleans up any stray website_members rows for that user across all websites in the organization within a single transaction. Requires a global API key. Cannot remove the API key's owning user, the organization owner, or the last remaining admin.

delete/api/v1/organizations/members/{user_id}

Request

  • Base URL
    https://api.athenahq.ai
  • Auth
    API key in header x-api-key

Response

Member removed successfully

successboolean required
messagestring required
websites_affectedinteger required

Number of stray website_members rows that were cleaned up as part of the cascade.

Example response

{
  "success": true,
  "message": "User removed from organization"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.