Update User changedapi/admin/users/update
Nearest release: v2.1.245, published 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.
Recorded here
Lines+12added
Lines−15removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits5to this page, all time
# Update User ## Path parameters ## Body parameters ## Returns ## Example ### Response (200) ## Update User ### Path Parameters ### Body Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Update User
3url: https://platform.claude.com/docs/en/api/admin/users/update
4---
1# Update User
52
6## Update User
3**POST** `/v1/organizations/users/{user_id}`
74
8**post** `/v1/organizations/users/{user_id}`
9
105For Claude Enterprise organizations, this endpoint's availability is in beta.
116
12### Path Parameters
7## Path parameters
138
149- `user_id: string`
1510
1611 ID of the User.
1712
18### Body Parameters
13## Body parameters
1914
2015- `role: "billing" or "claude_code_user" or "developer" or 2 more`
2116
from line 28
3328
3429 - `"user"`
3530
36### Returns
31## Returns
3732
38- `User object { id, added_at, email, 3 more }`
33- `User object`
3934
4035 - `id: string`
4136
from line 40
4540
4641 RFC 3339 datetime string indicating when the User joined the Organization.
4742
43 format: date-time
44
4845 - `email: string`
4946
5047 Email of the User.
from line 78
8178
8279 For Users, this is always `"user"`.
8380
84 - `"user"`
81 default: user
8582
86### Example
83## Example
8784
88```http
85```bash
8986curl https://api.anthropic.com/v1/organizations/users/$USER_ID \
9087 -H 'Content-Type: application/json' \
9188 -H 'anthropic-version: 2023-06-01' \
from line 92
9592 }'
9693```
9794
98#### Response
95### Response (200)
9996
10097```json
10198{
No line in this hunk matches that.