Mutation

delete_agent_pool

Permanently deletes an agent pool. Any agents in the pool will be returned to the default pool, and any sites configured to scan using the agent pool will instead use the default pool.

Arguments

input: DeleteAgentPoolInput!


Input Fields

id(): ID!
The unique identifier of the agent pool that you want to delete.

Return Fields

id(): ID
The unique identifier of the agent pool that was deleted.

Example

Query
mutation DeletePool($input: DeleteAgentPoolInput!) {
  delete_agent_pool(input: $input) {
    id
  }
}
Variables
{
  "input": {
    "id": "10"
  }
}