Skip to main content

Disable, enable, delete or restore a policy

PUT 

/api/v1/ProtectionPolicy/:protectionPolicyId/Status

Sets whether a protection policy is deleted or disabled and reschedules protection. Send only the options to change. Returns the updated policy.

Permission required: Administrators and application accounts.

Caution: Protection is rescheduled before the new status is saved, so deleting, disabling or enabling a policy through this route does not change scheduled protection during the call. The schedule catches up the next time protection is rescheduled for the affected resources, for example when the policy's resources change.

Request​

Responses​

The updated protection policy.