Update User Profile
POST/v1/user_profiles/{user_profile_id}
Change the details of a user profile, leaving the fields that you don't send as they are.
See the User profiles guide for how each field is updated.
Path parameters
Headers
Body
Returns
Update User Profile
curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID \
-H 'Content-Type: application/json' \
-H 'anthropic-version: 2026-10-21' \
-H 'anthropic-beta: user-profiles-2026-08-18' \
-H "Authorization: Bearer $ANTHROPIC_API_KEY" \
-d '{
"external_user_details": {
"account_status": "suspended"
}
}'Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"created_at": "2026-03-15T10:00:00Z",
"metadata": {},
"name": "Example User",
"trust_grants": {
"cyber": {
"status": "active"
}
},
"type": "user_profile",
"updated_at": "2026-03-15T10:00:00Z",
"access_type": "application",
"external_id": "user_12345",
"external_user_details": {
"account_status": "active",
"country": "US",
"email_hash": null,
"entity_type": "business",
"name_hash": null,
"onboarded_at": "2024-11-02T08:15:00Z",
"reference_id": "user_12345"
},
"external_user_onboarded_at": "2024-11-02T08:15:00Z"
}Returns Examples
Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"created_at": "2026-03-15T10:00:00Z",
"metadata": {},
"name": "Example User",
"trust_grants": {
"cyber": {
"status": "active"
}
},
"type": "user_profile",
"updated_at": "2026-03-15T10:00:00Z",
"access_type": "application",
"external_id": "user_12345",
"external_user_details": {
"account_status": "active",
"country": "US",
"email_hash": null,
"entity_type": "business",
"name_hash": null,
"onboarded_at": "2024-11-02T08:15:00Z",
"reference_id": "user_12345"
},
"external_user_onboarded_at": "2024-11-02T08:15:00Z"
}