Update User Profile changedapi/user_profiles/update
Nearest release: v2.1.309, published 2 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+101added
Lines−2removed
From line
147
where the diff opens
First seen
21 Oct 2026
this site's first read of the page
Recorded edits2to this page, all time
The whole hunk
from line 147, old and new numbered
/
from line 147
147147
148148 format: date-time
149149
150 - `enforcement_actions: array of UserProfileEnforcementAction`
151
152 The enforcement actions open on this profile; empty when none is open. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
153
154 - `UserProfileEnforcementActionRestriction object`
155
156 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
157
158 - `type: "restriction"`
159
160 - `id: string`
161
162 The action's ID (`enac_...`), stable while the action is open.
163
164 - `action: UserProfileEnforcementActionNextStep or null`
165
166 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
167
168 - `expires_at: string or null`
169
170 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
171
172 format: date-time
173
174 - `opened_at: string`
175
176 When Anthropic opened the action, in RFC 3339 format.
177
178 format: date-time
179
180 - `reason: UserProfileEnforcementActionReason`
181
182 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
183
184 - `"unsupported_region"`
185
186 - `"fraud_or_abuse"`
187
188 - `"high_harm"`
189
190 - `"usage_policy_violation"`
191
192 - `"account_compromise"`
193
194 - `"unspecified"`
195
196 - `UserProfileEnforcementActionBan object`
197
198 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
199
200 - `type: "ban"`
201
202 - `id: string`
203
204 The action's ID (`enac_...`), stable while the action is open.
205
206 - `action: UserProfileEnforcementActionNextStep or null`
207
208 Always `null`: the end user cannot clear a ban.
209
210 - `expires_at: string or null`
211
212 Always `null`: a ban has no end date.
213
214 format: date-time
215
216 - `opened_at: string`
217
218 When Anthropic opened the action, in RFC 3339 format.
219
220 format: date-time
221
222 - `reason: UserProfileEnforcementActionReason`
223
224 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
225
226 - `enforcement_status: UserProfileEnforcementStatus`
227
228 Anthropic's enforcement status of this profile, from its open enforcement actions and any identity check under review, by the first rule that applies: `banned` while any open action is a `ban`; `pending` while a restriction that an identity check can clear is open, the end user has submitted that check, Anthropic's review of it has not ended, and no open action's `reason` is `account_compromise`; `restricted` while any action is open; `unrestricted` while none is. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
229
230 - `"unrestricted"`
231
232 - `"pending"`
233
234 - `"restricted"`
235
236 - `"banned"`
237
150238 - `external_user_details: UserProfileExternalUserDetails`
151239
152240 Details about the entity this profile represents, as the platform states them; not verified by Anthropic. Every field is present, `null` until the platform supplies a value. Absent under the legacy `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers, which serve `reference_id` as the top-level `external_id` and, under `user-profiles-2026-08-18`, `onboarded_at` as `external_user_onboarded_at`.
from line 376
288376```bash
289377curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID \
290378 -H 'Content-Type: application/json' \
291 -H 'anthropic-version: 2023-06-01' \
292 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
379 -H 'anthropic-version: 2026-10-21' \
380 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
293381 -d '{
294382 "external_user_details": {
295383 "account_status": "suspended"
from line 392
304392 "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
305393 "access_type": "application",
306394 "created_at": "2026-03-15T10:00:00Z",
395 "enforcement_actions": [
396 {
397 "id": "enac_011CZkZCu8hGbp5mYRQgUmz9",
398 "action": "verify",
399 "expires_at": null,
400 "opened_at": "2026-10-02T19:30:00Z",
401 "reason": "fraud_or_abuse",
402 "type": "restriction"
403 }
404 ],
405 "enforcement_status": "unrestricted",
307406 "external_user_details": {
308407 "account_status": "active",
309408 "country": "US",
No line in this hunk matches that.