SPB Git

Repository Public

remove.md 724 B 49 lines markdown

1---2title: Remove User3url: https://platform.claude.com/docs/en/api/beta/organization/users/remove4---56# Remove User78**DELETE** `/v1/organizations/users/{user_id}`910Remove a member from the organization.1112## Path parameters1314- `user_id: string`1516  ID of the User.1718## Returns1920- `type: "user_deleted"`2122  Deleted object type.2324  For Users, this is always `"user_deleted"`.2526  default: user_deleted2728- `id: string`2930  ID of the User.3132## Example3334```bash35curl https://api.anthropic.com/v1/organizations/users/$USER_ID \36    -X DELETE \37    -H 'anthropic-version: 2023-06-01' \38    -H "X-Api-Key: $ANTHROPIC_API_KEY"39```4041### Response (200)4243```json44{45  "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",46  "type": "user_deleted"47}48```49
Files main
Menu

Theme