Skip to main content
DELETE
/
api
/
v1
/
organizations
/
members
/
{user_id}
Remove Organization Member
curl --request DELETE \
  --url https://api.athenahq.ai/api/v1/organizations/members/{user_id} \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "message": "User removed from organization",
  "websites_affected": 0
}

Documentation Index

Fetch the complete documentation index at: https://docs.athenahq.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Path Parameters

user_id
string<uuid>
required

The unique identifier of the target user

Response

Member removed successfully

success
boolean
required
Example:

true

message
string
required
Example:

"User removed from organization"

websites_affected
integer
required

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

Example:

0