Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Users changedapi/organization/users

Nearest release: v2.1.328, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+109added
Lines−69removed
From line 324 where the diff opens
First seen 30 Sep 2026 this site's first read of the page
Recorded edits9to this page, all time

### Errors ### Errors ## Errors ### cannot_remove_last_member

The whole hunk

from line 324, old and new numbered
/
lines
from line 324
324324 
325325 - `"user"`
326326 
327### Errors
328 
329Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
330 
331Each code below is the value of `error.details.error_code` in the response body.
332 
333- `sandbox_egress_restricted` (HTTP status 403)
334 
335 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
336 
327337### Example
328338 
329339```bash
from line 393
383393 
384394 ID of the User.
385395 
396### Errors
397 
398Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
399 
400Each code below is the value of `error.details.error_code` in the response body.
401 
402- `cannot_remove_last_member` (HTTP status 400)
403 
404 The user is the organization's only member. Add another member before removing this one.
405 
406- `sandbox_egress_restricted` (HTTP status 403)
407 
408 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
409 
410- `concurrent_membership_change` (HTTP status 409)
411 
412 Another change to the organization's members is in progress. Retry the request once it completes.
413 
386414### Example
387415 
388416```bash
from line 435
407435 
408436- `CannotRemoveLastMemberErrorDetails object`
409437 
410 The user is the organization's only member. Add another member before removing this one.
411 
412438 - `error_code: "cannot_remove_last_member"`
413439 
414440### Organization User
from line 504
478504 - `id: string`
479505 
480506 ID of the User.
507 
508## Errors
509 
510### cannot_remove_last_member
511 
512HTTP status 400
513 
514- `"cannot_remove_last_member"`
515 
516 The user is the organization's only member. Add another member before removing this one.
517 
518 - `details: CannotRemoveLastMemberErrorDetails`
519 
520 - `error_code: "cannot_remove_last_member"`
481521 
Feedback