Disable, enable, delete or restore an access policy
PUT/api/v1/AccessControlPolicy/:accessControlPolicyId/Status
Sets the disabled flag, the deleted flag or both on an access policy and returns the updated policy. Only the flags you send are changed.
Permission required: Administrator.
Caution: The change takes effect immediately; a disabled or deleted policy stops granting access.
Request
Responses
- 200
- 204
- 400
- 403
The updated policy.
No policy has this id. The response body is empty.
The status could not be changed.
The caller is not an administrator.