Skip to content
LogoLogo

Rename or restore a Project state

Rename or restore a Project state

PATCH/api/v1/project-states/{state_id}

Changes exactly one field. Restore uses archived: false; the capability must be enabled.

Path Parameters

state_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Idempotency-KeyRequired
string·min 16·max 200

Opaque client-generated key for safely retrying this operation.

If-MatchRequired
string

Entity tag containing the resource version last observed by the client.

Request Body

application/json
label
string·min 1·max 80
archived
boolean

Only false is accepted; the server rejects true.

Responses