---
title: "Update User Profile"
method: PATCH
path: "/api/domains/{domain_id}/personas/{profile_id}"
tags: ["personas"]
---

# Update User Profile

`PATCH /api/domains/{domain_id}/personas/{profile_id}`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/personas/{profile_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Update name and/or description of a user profile.

## Path parameters

- `profile_id` string, uuid, required
- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Request body

- UserProfileUpdate
  - `name` string, nullable
  - `description` string, nullable
  - `scenarios` string[], nullable

## Response `200`

Successful Response

- UserProfileResponse
  - `id` string, uuid, required
  - `domain_id` string, uuid, required
  - `name` string, required
  - `description` string, required
  - `scenarios` string[]
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
