Claude Platform Docs

Retirer un utilisateur

$ ant beta:organization:users remove
DELETE/v1/organizations/users/{user_id}

Retirez un membre de l'organisation.

Parameters
--user-id: string

ID of the User.

Returns
BetaOrganizationUserRemoveResponse: object{ id, type }
id: string

ID of the User.

type: "user_deleted"

Deleted object type.

For Users, this is always "user_deleted".

Retirer un utilisateur
ant beta:organization:users remove \
  --api-key my-anthropic-api-key \
  --user-id user_id
Returns Examples
Response 200
{
  "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
  "type": "user_deleted"
}