Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

user-management changedmanage-claude/user-management

Nearest release: v2.1.319, published 3 hours after 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+67added
Lines−1removed
From line 627 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits29to this page, all time

The whole hunk

from line 627, old and new numbered
/
lines
from line 627
627627<Note>
628628 This endpoint is in **beta** for Claude Enterprise organizations.
629629 
630 Every request must include the [beta header](https://platform.claude.com/docs/en/api/beta-headers) `anthropic-beta: admin-user-sign-out-2026-10-08`. A request without it returns 400, with a message that names the value.
630 Every request must include the [beta header](https://platform.claude.com/docs/en/api/beta-headers) `anthropic-beta: admin-user-sign-out-2026-10-08`. A request without it returns 400, with a message that names the value. The SDK and the CLI send it for you.
631631 
632632 If your version of the SDK or the `ant` CLI doesn’t have this endpoint, send the request over HTTP with this header.
633633</Note>
from line 644
644644 -H "x-api-key: $ANTHROPIC_API_KEY" \
645645 -H "anthropic-version: 2023-06-01" \
646646 -H "anthropic-beta: admin-user-sign-out-2026-10-08"
647 ```
648 
649 ```bash CLI
650 ant beta:organization:users sign-out --user-id user_01AbCdEfGhIjKlMnOpQrSt
651 ```
652 
653 ```python Python
654 client = anthropic.Anthropic()
655 
656 user = client.beta.organization.users.sign_out("user_01AbCdEfGhIjKlMnOpQrSt")
657 
658 print(f"id: {user.id}")
659 ```
660 
661 ```typescript TypeScript
662 const client = new Anthropic();
663 
664 const user = await client.beta.organization.users.signOut("user_01AbCdEfGhIjKlMnOpQrSt");
665 
666 console.log(`id: ${user.id}`);
667 ```
668 
669 ```csharp C#
670 AnthropicClient client = new();
671 
672 var user = await client.Beta.Organization.Users.SignOut("user_01AbCdEfGhIjKlMnOpQrSt");
673 
674 Console.WriteLine($"id: {user.ID}");
675 ```
676 
677 ```go Go
678 client := anthropic.NewClient()
679 
680 user, err := client.Beta.Organization.Users.SignOut(context.Background(), "user_01AbCdEfGhIjKlMnOpQrSt", anthropic.BetaOrganizationUserSignOutParams{})
681 if err != nil {
682 log.Fatal(err)
683 }
684 
685 fmt.Printf("id: %s\n", user.ID)
686 ```
687 
688 ```java Java
689 AnthropicClient client = AnthropicOkHttpClient.fromEnv();
690 
691 var user = client.beta().organization().users()
692 .signOut("user_01AbCdEfGhIjKlMnOpQrSt");
693 
694 IO.println("id: " + user.id());
695 ```
696 
697 ```php PHP
698 $client = new Client();
699 
700 $user = $client->beta->organization->users->signOut(
701 userID: 'user_01AbCdEfGhIjKlMnOpQrSt',
702 );
703 
704 echo "id: {$user->id}\n";
705 ```
706 
707 ```ruby Ruby
708 client = Anthropic::Client.new
709 
710 user = client.beta.organization.users.sign_out("user_01AbCdEfGhIjKlMnOpQrSt")
711 
712 puts "id: #{user.id}"
647713 ```
648714</CodeGroup>
649715 
Feedback