---
title: "Update a persona"
method: PUT
path: "/persona/{id}"
tags: ["Persona"]
---

# Update a persona

`PUT /persona/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdatePersonaInput
  - `personaName` string, nullable — The name of the persona
  - `description` string, nullable — The description of the persona
  - `voiceStyles` string, nullable — The voice styles of the persona
  - `howToRespond` string, nullable — The how to respond of the persona
  - `typoPercent` integer, nullable — The typo percent of the persona
  - `breakupLargeMessagePercent` integer, nullable — The breakup large message percent of the persona
  - `responseTime` string, nullable — The response time of the persona
  - `responseDelay` integer, nullable — The response delay of the persona
  - `aiProviderPreferences` string[], nullable — The AI provider preferences of the persona
  - `folderId` string, nullable — The folder ID of the persona
  - `favorited` boolean, nullable — Whether the persona is favorited
  - `trash` boolean, nullable — Whether the persona is trashed
  - `default` boolean, nullable — Whether the persona is default
  - `color` string, nullable — The color of the persona
  - `imageData` string, nullable — The image data of the persona

## Response `200`

Success

- PersonaDto
  - `id` string, nullable
  - `agencyId` string, nullable
  - `personaName` string, nullable
  - `description` string, nullable
  - `color` string, nullable
  - `imageUri` string, nullable
  - `voiceStyles` string, nullable
  - `howToRespond` string, nullable
  - `typoPercent` integer
  - `breakupLargeMessagePercent` integer
  - `responseTime` string, nullable
  - `responseDelay` integer
  - `modifiedAt` string, nullable
  - `modifiedBy` string, nullable
  - `aiProviderPreferences` string[], nullable
  - `folderId` string, nullable
  - `botIds` string[], nullable
  - `bots` BotPersonaDto[], nullable
    - `name` string, nullable
    - `id` string, nullable
  - `favorited` boolean
  - `default` boolean

## Other responses

- `404` — Not Found

---

[API](https://skmtc.dev/closebot/apis/closebot-api.md) · [All operations](https://skmtc.dev/closebot/apis/closebot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/closebot/closebot-api/revisions/da5f5fb58534/schema)
