Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

User Profiles changedapi/beta/user_profiles

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+14added
Lines−14removed
From line 362 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits20to this page, all time

The whole hunk

from line 362, old and new numbered
/
lines
from line 362
362362```bash
363363curl https://api.anthropic.com/v1/user_profiles \
364364 -H 'Content-Type: application/json' \
365 -H 'anthropic-version: 2023-06-01' \
365 -H 'anthropic-version: 2026-10-21' \
366366 -H 'anthropic-beta: user-profiles-2026-08-18' \
367 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
367 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
368368 -d '{
369369 "external_user_details": {
370370 "account_status": "active",
from line 708
708708 
709709```bash
710710curl https://api.anthropic.com/v1/user_profiles \
711 -H 'anthropic-version: 2023-06-01' \
711 -H 'anthropic-version: 2026-10-21' \
712712 -H 'anthropic-beta: user-profiles-2026-08-18' \
713 -H "X-Api-Key: $ANTHROPIC_API_KEY"
713 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
714714```
715715 
716716#### Response (200)
from line 1014
10141014 
10151015```bash
10161016curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID \
1017 -H 'anthropic-version: 2023-06-01' \
1017 -H 'anthropic-version: 2026-10-21' \
10181018 -H 'anthropic-beta: user-profiles-2026-08-18' \
1019 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1019 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
10201020```
10211021 
10221022#### Response (200)
from line 1412
14121412```bash
14131413curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID \
14141414 -H 'Content-Type: application/json' \
1415 -H 'anthropic-version: 2023-06-01' \
1415 -H 'anthropic-version: 2026-10-21' \
14161416 -H 'anthropic-beta: user-profiles-2026-08-18' \
1417 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1417 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
14181418 -d '{
14191419 "external_user_details": {
14201420 "account_status": "suspended"
from line 1605
16051605```bash
16061606curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID \
16071607 -X DELETE \
1608 -H 'anthropic-version: 2023-06-01' \
1608 -H 'anthropic-version: 2026-10-21' \
16091609 -H 'anthropic-beta: user-profiles-2026-08-18' \
1610 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1610 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
16111611```
16121612 
16131613#### Response (200)
from line 1780
17801780```bash
17811781curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID/enrollment_url \
17821782 -X POST \
1783 -H 'anthropic-version: 2023-06-01' \
1783 -H 'anthropic-version: 2026-10-21' \
17841784 -H 'anthropic-beta: user-profiles-2026-08-18' \
1785 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1785 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
17861786```
17871787 
17881788#### Response (200)
from line 2262
22622262```bash
22632263curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID/action_urls \
22642264 -H 'Content-Type: application/json' \
2265 -H 'anthropic-version: 2023-06-01' \
2265 -H 'anthropic-version: 2026-10-21' \
22662266 -H 'anthropic-beta: user-profiles-2026-08-18' \
2267 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2267 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
22682268 -d '{
22692269 "action": {
22702270 "type": "enroll_end_user"
Feedback