Skip to main content
PUT
Update the stack identity only when its local revision still matches

Authorizations

Authorization
string
header
required

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

Headers

Idempotency-Key
string
required

Stable mutation id of 16 to 128 letters, digits, - or _.

Required string length: 16 - 128
Pattern: ^[A-Za-z0-9_-]+$
If-Match
string
required

Strong local revision in double quotes, for example "3".

Pattern: ^"[0-9]+"$

Body

application/json
name
string
required

Trimmed, without control characters.

Required string length: 1 - 30
characterId
string
Pattern: ^[a-z][a-z0-9_-]{0,63}$
animationStyle
string
Pattern: ^[a-z][a-z0-9_-]{0,63}$
animationEnabled
boolean
iconStyle
enum<string>
Available options:
filled,
glass,
gradient,
outlined
glowColorOverride
string | null
Pattern: ^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$

Response

The updated stack identity with its new revision

data
object
meta
object