Unlink agents

Creates a bulk operation task to unlink agents. For more information on unlinked agent data, see Unlink an Agent.

Note: For a caller acting under a custom role, the task unlinks only the agents that belong to an agent group where the caller holds the Can Manage [64] permission. Entries in items that name an agent outside those groups are dropped from the task without an error. A request whose items resolves to no such agent, and that specifies no filter criteria, returns a 403 response.

Requires the Scan Manager [40] user role. Alternatively, requires the VM.VM_SENSOR.VM_AGENT.DELETE custom role privilege and the Can Manage [64] agent group permission on a group that contains each target agent. See Roles and Permissions.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
criteria
object

Specifies the criteria you wish to filter agents on. The criteria is used to narrow down the list of agents to perform the specified action on.

items
array

An array of agent IDs or agent UUIDs to add to the criteria filter.

items
not_items
array

An array of agent IDs or agent UUIDs to exclude from the criteria filter.

not_items
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

Returned if your request message contained an invalid parameter.

403

Returned if you do not have permission to create or interact with a bulk operation task.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/html