Claude Platform Docs

사용자 로그아웃

POST/v1/organizations/users/{user_id}/sign_out
Requires anthropic-beta: admin-user-sign-out-2026-10-08. How to send beta headers

멤버를 조직에서 제거하지 않고 Claude를 사용하는 모든 곳에서 로그아웃시킵니다. 이 작업은 다른 조직 및 개인 플랜을 포함하여 해당 멤버가 Claude를 사용하는 모든 곳에서 로그인 세션을 종료하고 신뢰할 수 있는 기기를 제거합니다. 또한 이 조직에 대해 해당 멤버에게 발급된 OAuth 토큰도 종료하므로, Claude Code와 같은 앱은 다시 로그인해야 합니다.

토큰이 작동을 멈추기까지 최대 1시간이 걸릴 수 있지만, 거의 항상 즉시 중지됩니다. 멤버는 역할을 유지하며 즉시 다시 로그인할 수 있습니다. 접근을 계속 차단하려면 조직에서 해당 멤버를 제거하거나, 조직에서 싱글 사인온을 사용하는 경우 ID 공급자에서 해당 멤버를 차단하세요. 로그아웃은 API 키, 이 조직에 대해 발급되지 않은 OAuth 토큰, 멤버의 Claude Code 클라우드 세션 및 루틴을 종료하지 않습니다.

조직의 기본 소유자나 API 키 또는 토큰이 대신하여 작동하는 사용자는 로그아웃시킬 수 없으며, 다른 소유자, 소유자 권한을 가진 멤버 또는 구성원 관리자를 로그아웃시키는 요청은 거부될 수 있습니다. 거부된 요청은 그 이유를 알려 주는 400 또는 403 오류를 반환합니다. 요청이 503을 반환하면 요청을 다시 보내 작업을 완료하세요. 이미 종료된 항목은 종료된 상태로 유지됩니다.

모든 요청에는 베타 헤더 anthropic-beta: admin-user-sign-out-2026-10-08이 포함되어야 합니다. 이 헤더가 없는 요청은 400을 반환합니다. 로그아웃은 Claude Enterprise 조직을 대상으로 베타 상태입니다. 이 기능이 활성화되지 않은 조직에서는 요청이 error_code organization_not_enrolled_in_beta와 함께 400을 반환합니다. Claude Enterprise 조직에서는 API 키에 write:members 스코프가 필요하며, 이 스코프가 없는 키는 403을 받습니다.

Path parameters
user_id: string

ID of the User.

Headers
"anthropic-version": optional string

The version of the Claude API you want to use.

Read more about versioning and our version history here.

"anthropic-beta": array of AnthropicBeta

This endpoint is in beta: requests must send admin-user-sign-out-2026-10-08 in this header.

One of the following:
string
"message-batches-2024-09-24"
"prompt-caching-2024-07-31"
"computer-use-2024-10-22"
"computer-use-2025-01-24"
"pdfs-2024-09-25"
"token-counting-2024-11-01"
"token-efficient-tools-2025-02-19"
"output-128k-2025-02-19"
"files-api-2025-04-14"
"mcp-client-2025-04-04"
"mcp-client-2025-11-20"
"dev-full-thinking-2025-05-14"
"interleaved-thinking-2025-05-14"
"code-execution-2025-05-22"
"extended-cache-ttl-2025-04-11"
"context-1m-2025-08-07"
"context-management-2025-06-27"
"model-context-window-exceeded-2025-08-26"
"skills-2025-10-02"
"fast-mode-2026-02-01"
"output-300k-2026-03-24"
"user-profiles-2026-03-24"
"user-profiles-2026-08-18"
"user-profiles-2026-09-04"
"advisor-tool-2026-03-01"
"managed-agents-2026-04-01"
"cache-diagnosis-2026-04-07"
"dreaming-2026-04-21"
"thinking-token-count-2026-05-13"
"server-side-fallback-2026-06-01"
"server-side-fallback-2026-07-01"
"fallback-credit-2026-06-01"
"fallback-credit-2026-07-01"
"agent-memory-2026-07-22"
"mid-conversation-tool-changes-2026-07-01"
"compact-2026-01-12"
"computer-use-2025-11-24"
"mcp-tunnels-2026-06-22"
"structured-outputs-2025-11-13"
"task-budgets-2026-03-13"
"thinking-display-updates-2026-08-18"
"ce-user-management-2026-07-13"
"mid-conversation-output-config-2026-07-01"
"thinking-binding-controls-2026-08-01"
"mid-conversation-system-clear-at-2026-08-21"
"compact-2026-09-04"
"inline-tools-2026-09-15"
"mcp-client-2026-09-15"
"ce-plugins-2026-09-01"
"spend-limit-reads-2026-09-26"
"telemetry-destinations-2026-08-11"
"webhooks-2026-10-07"
"admin-user-sign-out-2026-10-08"
"message-threads-2026-08-12"
"analytics-usage-cost-2026-08-24"
"experimental-claude-tag-2026-10-21"
Returns
BetaOrganizationUser object{ type: "user", id, added_at, 3 more }
type: "user"

Object type.

For Users, this is always "user".

defaultuser
id: string

ID of the User.

added_at: string

RFC 3339 datetime string indicating when the User joined the Organization.

formatdate-time
email: string

Email of the User.

name: string

Name of the User.

Organization role of the User.

One of the following:
"admin"
"billing"
"claude_code_user"
"developer"
"managed"
"membership_admin"
"owner"
"primary_owner"
"user"
사용자 로그아웃
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"
Returns Examples
Response 200
{
  "id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
  "added_at": "2024-10-30T23:58:27.427722Z",
  "email": "user@emaildomain.com",
  "name": "Jane Doe",
  "role": "admin",
  "type": "user"
}