Set the pending version aside
Closes a pending version with status set_aside and a required reason so a new draft can start from the version in force. The version remains readable and cannot be ratified or put in force. Its changes must be rebuilt on top of the new draft to be used again. Human only. Returns 404 when the policy or version is not found for the tenant, 409 INVALID_TRANSITION when the version is already in force or no longer pending, and 400 when the reason is missing or blank.
Authorizations
MeshQu API key passed as a bearer token: Authorization: Bearer mqu_…. Mint one in the console (Settings → API keys).
Tenant UUID for multi-tenant isolation. Required on authenticated routes. A missing or non-UUID value returns 400 MISSING_TENANT_ID or INVALID_TENANT_ID before API-key authentication.
Body
Required: why the pending version is set aside (e.g. a hot fix to the version in force must go first). Must contain a non-whitespace character. Recorded on the version (closed_reason) and in the audit trail.
1 - 2000.*\S.*Response
Default Response
x >= 0SHA-256 hash of the active rules’ evaluated fields (code, condition, severity and when) in stored order. Changes to rule metadata or inactive rules do not change this hash.
^[0-9a-f]{64}$Lifecycle status: draft → submitted → ratified → activated or superseded. Rejected versions can return to draft. A draft may be discarded; a pending version may be reopened, set aside, or replaced without governing decisions.
draft Present only on a version created by draft supersession: the id of the replaced draft this version continues. Written when the version is created and never changed. Absent on every other version, including one started after a set-aside or a reopen.
What the codification that produced this version accounted for. Unsigned and unhashed; NOT a sealed review package.