Skip to main content

Change a policy

PATCH 

/v1/policies/:id

A block the request does not mention is kept. An optional block is removed with its clear_ flag. Changes apply to the backups taken from now on. With apply_to_existing, the existing backups that are not locked are re-dated too, and applied says how many changed. Moving an expiry earlier needs the policy:shorten permission.

Operator only: needs a system-scoped token.

Request​

Responses​

OK