Skip to main content
PUT
/
brands
/
{brand_id}
/
personas
/
{persona_id}
Update Persona
curl --request PUT \
  --url https://api.scrunchai.com/v1/brands/{brand_id}/personas/{persona_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "id": 123,
  "name": "<string>",
  "description": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

brand_id
integer
required
persona_id
integer
required

Body

application/json

Input model for updating a persona (full replace).

name
string
required

Display name of the persona.

description
string
required

Description of the persona.

Response

Successful Response

id
integer
required
name
string
required
description
string
required