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
Header Parameters
string·min 43·max 43Session-bound CSRF token. It must exactly match the
__Host-assign_csrf cookie sent with the request.
string·min 16·max 200Opaque client-generated key for safely retrying this operation.
Request Body
Responses
ETag
stringQuoted decimal optimistic-concurrency version.
string <uuid>Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.
Example0198ac5e-f9b7-7000-8000-000000000001
string <uuid>Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.
Example0198ac5e-f9b7-7000-8000-000000000001
Retry-After
integer·min 0Delay in seconds before retrying, when an expected maintenance end is known.
Cache-Control
string·const no-storePrevents storage of error responses by clients and intermediaries.
X-Request-ID
string·min 1·max 200Correlation identifier for the request.
X-Content-Type-Options
string·const nosniffPrevents user agents from MIME-sniffing the response.