Sign Out User
anthropic-beta: admin-user-sign-out-2026-10-08. How to send beta headersSign a member out of Claude everywhere, without removing them from the organization. This ends their sign-in sessions and removes their trusted devices wherever they use Claude, including other organizations and individual plans. It also ends the OAuth tokens issued to them for this organization, so apps such as Claude Code must sign in again.
A token can take up to an hour to stop working, though it almost always stops at once. The member keeps their role and can sign in again right away. To keep them out, remove them from the organization or, if your organization uses single sign-on, block them in your identity provider. Signing out does not end API keys, OAuth tokens that were not issued for this organization, or the member's Claude Code cloud sessions and routines.
You cannot sign out the organization's primary owner or the person your API key or token acts for, and a request to sign out another owner, a member with owner permissions, or a membership admin may be refused. A refused request returns a 400 or 403 error that says why. If the request returns 503, send it again to finish; anything already ended stays ended.
Every request must include the beta header anthropic-beta: admin-user-sign-out-2026-10-08. A request without it returns 400. Sign-out is in beta for Claude Enterprise organizations. In an organization where it is not enabled, a request returns 400 with error_code organization_not_enrolled_in_beta. In a Claude Enterprise organization, an API key needs the write:members scope; a key without it gets 403.
Path parameters
Headers
Returns
curl https://api.anthropic.com/v1/organizations/users/$USER_ID/sign_out \
-X POST \
-H 'anthropic-version: 2026-10-21' \
-H 'anthropic-beta: admin-user-sign-out-2026-10-08' \
-H "Authorization: Bearer $ANTHROPIC_API_KEY"{
"id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
"added_at": "2024-10-30T23:58:27.427722Z",
"email": "user@emaildomain.com",
"name": "Jane Doe",
"role": "admin",
"type": "user"
}Returns Examples
{
"id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
"added_at": "2024-10-30T23:58:27.427722Z",
"email": "user@emaildomain.com",
"name": "Jane Doe",
"role": "admin",
"type": "user"
}