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
- 200
- 401
- 403
- 404
The updated protection policy.
The request is not signed in, or the sign-in has expired.
The caller is not an administrator or application account.
No protection policy exists with this identifier.