Skip to content
LogoLogo

Archive an unused Project state

Archive an unused Project state

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

Refuses an in-use state with 409 project_state_in_use; use the replacement command for that case.

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.

Responses

204Project state archived