Remove User

Remove a member from the organization.

delete/v1/organizations/users/{user_id}?beta=true

Path parameters

user_idstring required

ID of the User.

ID of the User.

Headers

x-api-keystring

Your unique Admin API key for authentication.

This key is required in the header of all Admin API requests, to authenticate your account and access Anthropic's services. Get your Admin API key through the Console.

Your unique Admin API key for authentication.

This key is required in the header of all Admin API requests, to authenticate your account and access Anthropic's services. Get your Admin API key through the Console.

anthropic-versionstring

The version of the Claude API you want to use.

Read more about versioning and our version history here.

The version of the Claude API you want to use.

Read more about versioning and our version history here.

Response

Successful Response

idstring required

ID of the User.

type'user_deleted' required

Deleted object type.

For Users, this is always "user_deleted".

Example response

{
  "id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
}

Changes