ユーザー
ユーザー一覧を取得
client.beta.organization.users.list(query?, options?): Page<BetaOrganizationUser>GET/v1/organizations/users
組織のメンバーを一覧表示します。
ユーザーを取得
client.beta.organization.users.retrieve(userID, options?): BetaOrganizationUserGET/v1/organizations/users/{user_id}
ユーザーIDで組織のメンバーを取得します。
ユーザーを更新
client.beta.organization.users.update(userID, body, options?): BetaOrganizationUserPOST/v1/organizations/users/{user_id}
メンバーの組織ロールを更新します。
ユーザーを削除
client.beta.organization.users.remove(userID, options?): UserRemoveResponseDELETE/v1/organizations/users/{user_id}
組織からメンバーを削除します。
ユーザーをサインアウト
client.beta.organization.users.signOut(userID, params?, options?): BetaOrganizationUserPOST/v1/organizations/users/{user_id}/sign_out
Requires
anthropic-beta: admin-user-sign-out-2026-10-08. Learn how to send beta headers.メンバーを組織から削除することなく、すべての場所でClaudeからサインアウトさせます。これにより、メンバーがClaudeを使用しているすべての場所(他の組織や個人プランを含む)で、サインインセッションが終了し、信頼済みデバイスが削除されます。また、この組織向けにメンバーに発行されたOAuthトークンも無効になるため、Claude Codeなどのアプリは再度サインインする必要があります。