Guardrails
PreviewCancel a freeze
It stops holding now and stays in the list as ended.
POST
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
freezeId*stringFormat
uuidIdempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
Match
^[A-Za-z0-9_.:-]+$Length
1 <= length <= 255The freeze.
application/json- response
appliesToRestores*booleanid*stringFormat
uuidname*stringreason?stringscope*array<>kind*stringValue in
"one_time""recurring"startsAt*stringFormat
date-timeendsAt?stringFormat
date-timeschedule?The days and hours a recurring freeze holds, in its time zone. A window does not cross midnight.
timeZone*stringrunningReleases*stringValue in
"pause""finish"bypass*array<>notify*array<>status*stringValue in
"active""planned""recurring""ended"until?stringWhen an active freeze ends.
Format
date-timenext?stringWhen a planned or recurring freeze next holds.
Format
date-timecover*canceledAt?stringFormat
date-timecreatedBy*createdAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X POST 'https://wardn.example.com/api/v1/freezes/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel'Example Response
{ "appliesToRestores": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "reason": "string", "scope": [ { "field": "class", "op": "is", "value": "string", "label": "string" } ], "kind": "one_time", "startsAt": "2019-08-24T14:15:22Z", "endsAt": "2019-08-24T14:15:22Z", "schedule": { "days": [ "mon" ], "start": "string", "end": "string" }, "timeZone": "string", "runningReleases": "pause", "bypass": [ { "who": "string", "can": "bypass", "needs": "string" } ], "notify": [ { "who": "string", "when": "string" } ], "status": "active", "until": "2019-08-24T14:15:22Z", "next": "2019-08-24T14:15:22Z", "cover": { "deployments": 0, "apps": 0, "clusters": 0, "leftOut": 0, "summary": "string", "lowered": [ "string" ] }, "canceledAt": "2019-08-24T14:15:22Z", "createdBy": { "id": "string", "name": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}