user-management changedmanage-claude/user-management
Nearest release: v2.1.333, published 4 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+28added
Lines−15removed
From line
4
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits31to this page, all time
The whole hunk
from line 4, old and new numbered
/
from line 4
44description: "Manage the people in your Claude Enterprise organization with the Admin API: list members and change roles, send and withdraw invites, manage groups, and read custom roles."
55---
66
7This page covers managing the people in your **Claude Enterprise** (claude.ai) organization programmatically, using the [Admin API](https://platform.claude.com/docs/en/api/beta/organization):
7This page covers managing the people in your **Claude Enterprise** (claude.ai) organization programmatically, using the [Admin API endpoints](https://platform.claude.com/docs/en/api/beta/organization):
88
99* List members and look them up by email address
1010* Change a member’s role
11* Remove members, or sign them out everywhere without removing them (beta)
11* Remove members or sign them out everywhere without removing them (in beta)
1212* Send and withdraw invites
1313* Manage your enterprise’s groups and their membership
1414* Read your organization’s custom roles
1515
16For Claude Console (Claude Platform) organizations, see the [Admin API guide for Claude Console](https://platform.claude.com/docs/en/manage-claude/admin-api).
16For Claude Console (Claude Platform) organizations, see the [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api) page.
1717
1818## Which endpoints can your organization use?
1919
from line 21
2121
2222| Endpoints | Claude Console (Claude Platform) | Claude Enterprise (claude.ai) |
2323| ----- | ----- | ----- |
24| [Members](https://platform.claude.com/docs/en/manage-claude/user-management#members) and [invites](https://platform.claude.com/docs/en/manage-claude/user-management#invites) | Available; see the [Admin API guide](https://platform.claude.com/docs/en/manage-claude/admin-api) | Available (this page) |
24| [Members](https://platform.claude.com/docs/en/manage-claude/user-management#members) and [invites](https://platform.claude.com/docs/en/manage-claude/user-management#invites) | Available; see the [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api) page | Available (this page) |
2525| [Groups](https://platform.claude.com/docs/en/manage-claude/user-management#groups) | Not available | Available (this page) |
2626| [Custom roles](https://platform.claude.com/docs/en/manage-claude/user-management#custom-roles) | Not available | Available, read-only (this page) |
2727| [Plugins](https://platform.claude.com/docs/en/manage-claude/plugins-api) and [Claude Tag](https://platform.claude.com/docs/en/manage-claude/claude-tag-api) | Not available | Available in beta |
2828| [Spend limits](https://platform.claude.com/docs/en/manage-claude/spend-limits-api) | Not available | Available |
2929| Usage and cost reports | Available; see the [Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api) | Available through the [Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api) and the [Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api#get-access-to-the-claude-enterprise-analytics-api) |
30| [Workspaces](https://platform.claude.com/docs/en/manage-claude/workspaces), [API keys](https://platform.claude.com/docs/en/manage-claude/admin-api#api-keys), [rate limits](https://platform.claude.com/docs/en/manage-claude/rate-limits-api), and the other endpoints in the [Admin API guide](https://platform.claude.com/docs/en/manage-claude/admin-api) | Available | Not available |
30| [Workspaces](https://platform.claude.com/docs/en/manage-claude/workspaces), [API keys](https://platform.claude.com/docs/en/manage-claude/admin-api#api-keys), [rate limits](https://platform.claude.com/docs/en/manage-claude/rate-limits-api), and the other endpoints on the [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api) page | Available | Not available |
3131
3232Members and invites are the same endpoints for both organization types; this page documents their Claude Enterprise behavior, including the Claude Enterprise [organization roles](https://platform.claude.com/docs/en/manage-claude/user-management#organization-roles). The group and custom-role endpoints exist only for Claude Enterprise.
3333
3434<Check>
35 **Scoped Admin API key required**
35 **Enterprise Admin API key required**
3636
37 These endpoints require an Admin API key with the scope that matches the request. Member and invite `GET` endpoints, and all custom-role endpoints, need `read:members` (there is no separate role scope). Member and invite `POST` and `DELETE` endpoints need `write:members`. Group `GET` endpoints need `read:rbac_groups`, and group `POST` and `DELETE` endpoints need `write:rbac_groups`. Assigning the `managed` role, or groups on an invite, requires `write:rbac_groups` in addition to `write:members`. A key carrying the `read:org_audit` scope (a read-only scope for security-audit integrations) can also call every `GET` endpoint on this page and the [Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api) read endpoints. See [Create an Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#create-a-key-for-a-claude-enterprise-organization) for where to create one and which scopes to select. Pass the key in the `x-api-key` header on every request, together with the [`anthropic-version`](https://platform.claude.com/docs/en/api/versioning) header.
37 For a Claude Enterprise organization, these endpoints require an Enterprise Admin API key with the scope that matches the request.
3838</Check>
3939
40The scope depends on the endpoint:
41
42* Member and invite `GET` endpoints need `read:members`, and custom-role endpoints accept it.
43* Member and invite `POST` and `DELETE` endpoints need `write:members`.
44* Group `GET` endpoints need `read:rbac_groups`.
45* Group `POST` and `DELETE` endpoints need `write:rbac_groups`.
46
47A key with the read-only `read:org_audit` scope can also call every `GET` endpoint on this page. See [Across several APIs](https://platform.claude.com/docs/en/manage-claude/enterprise-admin-api-key-scopes#across-several-apis) on the Enterprise Admin API key scopes page.
48
49For where to create the key, see [Create a key for a Claude Enterprise organization](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#create-a-key-for-a-claude-enterprise-organization) on the Admin API keys and tokens page. For what each scope allows, see [Enterprise Admin API key scopes](https://platform.claude.com/docs/en/manage-claude/enterprise-admin-api-key-scopes#admin-api-user-management). In a cURL request, pass the key in the `x-api-key` header, together with the `anthropic-version` header ([API versions](https://platform.claude.com/docs/en/api/versioning)).
50
4051## Overview
4152
4253This page covers five resources:
from line 64
5364
5465## Quick start
5566
56Set the `ANTHROPIC_API_KEY` environment variable to your Admin API key. The examples on this page read the key from it. The SDK and the `ant` CLI send the `Authorization` and `anthropic-version` headers for you.
67Set the `ANTHROPIC_API_KEY` environment variable to your Admin API key. The examples on this page read the key from it. The SDK and the [`ant` CLI](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart) send the key and the `anthropic-version` header for you.
5768
5869List the organization’s members, newest first:
5970
from line 753
742753
743754The request doesn’t end any of the following:
744755
745* **API keys:** They keep working, including Admin API keys that the person created. To stop an Admin API key, delete it in the **Keys** section of [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access).
756* **API keys:** They keep working, including Admin API keys that the person created. To stop an Enterprise Admin API key, delete it in the **Keys** section of the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**).
746757* **OAuth tokens for other organizations:** To end them, send the request in each organization with that organization’s key. The person has the same `id` in every organization. OAuth tokens issued to the person’s account and not to an organization also keep working, and this request can’t end them.
747* **Claude Code cloud sessions and routines:** Sessions that run on Anthropic’s infrastructure, such as Claude Code on the web, or in one of your [self-hosted environments](https://code.claude.com/docs/en/self-hosted-environments) keep running. Work in progress when you send the request, or started soon after, can fail. The session then gets new credentials without the person signing in again, and continues. The person’s [routines](https://code.claude.com/docs/en/routines) that run on a schedule or on GitHub events keep starting new sessions. The **Sign out everywhere** action leaves these running too.
758* **Claude Code cloud sessions and routines:** Sessions that run on Anthropic’s infrastructure or in one of your [self-hosted environments](https://code.claude.com/docs/en/self-hosted-environments) keep running. Work that’s in progress when you send the request or that starts soon after can fail, but the session continues. The person’s [routines](https://code.claude.com/docs/en/routines) that run on a schedule or on GitHub events keep starting new sessions. The **Sign out everywhere** action leaves these running too.
748759* **Computers linked to Cowork:** They stay linked.
749760* **A sign-in that is in progress:** One that’s already under way can finish during the request, or up to 5 minutes after it. If the [audit log export](https://platform.claude.com/docs/en/manage-claude/compliance-api#export-audit-logs) or [Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed) shows the person signing in after the request, send it again. Sign-ins to apps such as Claude Code aren’t recorded there, so if the person was signing in to one, send it again after 5 minutes.
750761
from line 2171
21602171
21612172## Custom roles
21622173
2163Custom roles are read-only through the API: these endpoints catalog your organization’s custom roles (defined in [claude.ai organization settings](https://claude.ai/admin-settings) or provisioned by Anthropic) and the permissions each role grants. Custom-role reads use the `read:members` scope (there is no separate role scope) and work with an organization-level key, and the catalog returned is your organization’s own.
2174Custom roles are read-only through the API: these endpoints catalog your organization’s custom roles (defined in [claude.ai organization settings](https://claude.ai/admin-settings) or provisioned by Anthropic) and the permissions each role grants. Custom-role reads accept the `read:members` scope and work with an organization-level key, and the catalog returned is your organization’s own.
21642175
21652176Read a role’s name from its `display_name` field. For a role provisioned by Anthropic, `display_name` can differ from the label claude.ai shows, and Anthropic might change the name. To keep a lasting reference to a role, store its `id`.
21662177
from line 2690
26792690
26802691### What happens to an Admin API key when the person who created it leaves?
26812692
2682The key keeps working. Admin API keys are scoped to the organization, not to individual users, and a key created in claude.ai does not expire. Removing the creator from the organization or deprovisioning them through your identity provider ends their own access, but not the keys they created. Downgrading their role does not change the keys either: each key stays active with its original scopes. When you offboard someone who created Admin API keys, delete those keys in the **Keys** section of [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) and create replacements.
2693The key keeps working. Admin API keys belong to the organization, not to individual users, and a key created in claude.ai does not expire. Removing the creator from the organization or deprovisioning them through your identity provider ends their own access, but not the keys they created. Downgrading their role does not change the keys either: each key stays active with its original scopes.
26832694
2695A key’s secret still works for anyone who has a copy. When you offboard someone who created Admin API keys, create replacement keys and switch your integrations to them, as [Replace an Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#replace-an-admin-api-key) describes. Then delete the old keys in the **Keys** section of the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**).
2696
26842697## See also
26852698
26862699<CardGroup cols={2}>
2687 <Card title="Create an Admin API key" href="https://platform.claude.com/docs/en/manage-claude/admin-api-keys">
2688 Where to create a scoped key and which scopes to select.
2700 <Card title="Admin API keys and tokens" href="https://platform.claude.com/docs/en/manage-claude/admin-api-keys">
2701 Where to create an Enterprise Admin API key and which scopes to select.
26892702 </Card>
26902703
26912704 <Card title="Compliance API" href="https://platform.claude.com/docs/en/manage-claude/compliance-api">
No line in this hunk matches that.