Skip to main content
PATCH
Update narrative variable

Path Parameters

project_id
string
required
variable_id
string
required

Body

application/json

Body for PATCH /v1/projects/{pid}/game-narrative/narrative-variables/{id}.

An omitted field is left unchanged. An explicit null clears description; default_value null sets the default to the JSON value null; null for name or type is rejected (422).

name
string | null
Required string length: 1 - 80
type
enum<string> | null
Available options:
int,
bool,
string,
enum
default_value
any
description
string | null
Maximum string length: 5000

Response

Successful Response

The response is of type Response Patch Variable V1 Projects Project Id Game Narrative Narrative Variables Variable Id Patch · object.