Add resources to a protection policy
PUT/api/v1/ProtectionPolicy/:protectionPolicyId/ManagedResource
Adds resources to a protection policy and reschedules protection. Resources that do not exist or have no host are skipped, and Entra ID tenants are not added. Returns the policy.
Permission required: Administrators and application accounts.
Caution: Skipped resources are not reported in the response, so read the policy afterward to confirm what was added.
Request
Responses
- 202
- 401
- 403
- 404
The request was accepted. The body is the 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.