curl --request DELETE "https://api.anthropic.com/v1/organizations/users/user_01WCz1FkmYMm4gnmykNKUu3Q" \ --header "anthropic-version: 2023-06-01" \ --header "content-type: application/json" \ --header "x-api-key: $ANTHROPIC_ADMIN_KEY"
{ "id": "user_01WCz1FkmYMm4gnmykNKUu3Q", "type": "user_deleted" }
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.
The version of the Anthropic API you want to use.
Read more about versioning and our version history here.
ID of the User.
Successful Response
The response is of type object.
object
Was this page helpful?