Skip to main content
PATCH
/
personas
/
{id}
cURL
curl --request PATCH \
  --url https://api.opengiant.com/v1/personas/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "attributes": {}
}'
{
  "id": "<string>",
  "name": "<string>",
  "attributes": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

ID of the persona to update.

Body

application/json

Updated persona details.

name
string

The updated name of the persona.

attributes
object

Updated attributes defining the persona's characteristics.

Response

Persona updated successfully.

id
string

Unique identifier for the persona.

name
string

The name of the persona.

attributes
object

Attributes defining the persona's characteristics.

I