title: Remove User url: https://platform.claude.com/docs/en/api/beta/organization/users/remove
Remove User
DELETE /v1/organizations/users/{user_id}
Remove a member from the organization.
Path parameters
-
user_id: stringID of the User.
Returns
-
type: "user_deleted"Deleted object type.
For Users, this is always
"user_deleted".default: user_deleted
-
id: stringID of the User.
Example
bash
curl https://api.anthropic.com/v1/organizations/users/$USER_ID \
-X DELETE \
-H 'anthropic-version: 2023-06-01' \
-H "X-Api-Key: $ANTHROPIC_API_KEY"Response (200)
json
{
"id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
"type": "user_deleted"
}