Remove several resources
POST/api/v1/ManagedResource/Delete
Removes the resources whose IDs you send, along with the managed accounts, local accounts and their stored credentials, protected group members, scheduled jobs and group links that belong to them. Set removeFromDb to also delete the host records.
Permission required: Administrator signed in with multifactor authentication, or an application account.
Caution: An empty array removes every resource. Removals, including stored credentials for local accounts, take effect immediately and cannot be undone.
Request
Responses
- 200
- 400
- 403
The resources were removed. The body is a confirmation message.
The resources could not be removed.
The signed-in user does not have the required role.