Change the organization's policy settings
Sets the time zone as an IANA name such as Europe/Berlin.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
Idempotency-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.
^[A-Za-z0-9_.:-]+$1 <= length <= 255application/json- body
timeZone*stringAn IANA time zone name. Calendar windows and freezes set to the organization's zone are read in it.
length <= 64The settings.
application/json- response
timeZone*stringAn IANA time zone name. Calendar windows and freezes set to the organization's zone are read in it.
length <= 64curl -X PUT 'https://wardn.example.com/api/v1/policy-settings' \ -H 'Content-Type: application/json' \ -d '{ "timeZone": "Europe/Berlin"}'{ "timeZone": "Europe/Berlin"}Get the organization's policy settings GET
The time zone calendar windows are read in. An organization that has set none is in UTC.
Ask whether a snapshot could go to a deployment POST
Runs the check a real promotion runs, with the facts the caller chose to change (a different time, requester or snapshot), and stores nothing. The answer is what the Evaluator draws: the verdict, every rule that applies with the facts it read, what would unblock it and who can, what the requester ma