One change
user-management
manage-claude/user-management
Nearest release: v2.1.238, published under an hour 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.
manage-claude/user-management Changed · +9 / -20 lines
from line 7
This page covers managing the people in your **Claude Enterprise** (claude.ai) organization programmatically, using the [Admin API](https://platform.claude.com/docs/en/api/admin): list members and look them up by email address, change a member's role, remove members, send and withdraw invites, manage your enterprise's groups and their membership, and read your organization's custom roles. For Claude Console (Claude Platform) organizations, see the [Admin API guide for Claude Console](https://platform.claude.com/docs/en/manage-claude/admin-api). <Note> - **The endpoints on this page are generally available for Claude Enterprise organizations.** The [beta header](https://platform.claude.com/docs/en/api/beta-headers) `anthropic-beta: ce-user-management-2026-07-13` is no longer required on group and custom-role requests; requests that still send it are accepted and behave identically. The group and custom-role examples on this page still send the header, which continues to work. + **The endpoints on this page are generally available for Claude Enterprise organizations.** The [beta header](https://platform.claude.com/docs/en/api/beta-headers) `anthropic-beta: ce-user-management-2026-07-13` is no longer required on group and custom-role requests; requests that still send it are accepted and behave identically. </Note> ## Which endpoints can your organization use?
from line 255
```bash cURL curl "https://api.anthropic.com/v1/organizations/rbac_groups?limit=20" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ - -H "anthropic-beta: ce-user-management-2026-07-13" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" ``` ```json
from line 284
```bash cURL curl "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ - -H "anthropic-beta: ce-user-management-2026-07-13" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" ``` ### Create a group
from line 297
curl -X POST "https://api.anthropic.com/v1/organizations/rbac_groups" \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ - -H "anthropic-beta: ce-user-management-2026-07-13" \ -d '{"name": "Engineering"}' ```
from line 322
curl -X POST "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn" \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ - -H "anthropic-beta: ce-user-management-2026-07-13" \ -d '{"name": "Platform Engineering"}' ```
from line 333
```bash cURL curl -X DELETE "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ - -H "anthropic-beta: ce-user-management-2026-07-13" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" ``` ```json
from line 351
```bash cURL curl "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn/members?limit=100" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ - -H "anthropic-beta: ce-user-management-2026-07-13" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" ``` ```json
from line 380
curl -X POST "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn/members" \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ - -H "anthropic-beta: ce-user-management-2026-07-13" \ -d '{"user_id": "user_01AbCdEfGhIjKlMnOpQrSt"}' ```
from line 401
```bash cURL curl -X DELETE "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn/members/user_01AbCdEfGhIjKlMnOpQrSt" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ - -H "anthropic-beta: ce-user-management-2026-07-13" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" ``` ```json
from line 424
```bash cURL curl "https://api.anthropic.com/v1/organizations/rbac_roles?limit=20" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ - -H "anthropic-beta: ce-user-management-2026-07-13" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" ``` ```json
from line 451
```bash cURL curl "https://api.anthropic.com/v1/organizations/rbac_roles/rbac_role_01CdEfGhIjKlMnOpQrStUv" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ - -H "anthropic-beta: ce-user-management-2026-07-13" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" ``` ### List a role's permissions
from line 464
```bash cURL curl "https://api.anthropic.com/v1/organizations/rbac_roles/rbac_role_01CdEfGhIjKlMnOpQrStUv/permissions?limit=20" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ - -H "anthropic-beta: ce-user-management-2026-07-13" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" ``` ```json