Mutation

update_agent_pool

Updates the name and description for an existing agent pool.

Arguments

input: UpdateAgentPoolInput!

The fields used to create a new agent pool.


Input Fields

agent_pool_id(): ID!
The ID of the agent pool.
name(): String
The name for the new agent pool. This is the name that is displayed on the Burp Suite DAST web UI.
description(): String
An optional description of the agent pool.

Return Fields

agent_pool(): AgentPool!
The newly created agent pool.

Example

Query
mutation UpdateAgentPool($input: UpdateAgentPoolInput!) {
  update_agent_pool(input: $input) {
    agent_pool {
      id
      name
      description
    }
  }
}
Variables
{
  "input": {
    "agent_pool_id": "1",
    "description": "Agents that scan our production and staging sites",
    "name": "Production and staging pool"
  }
}
Result
{
  "data": {
    "update_agent_pool": {
      "agent_pool": {
        "id": "1",
        "name": "Production and staging pool",
        "description": "Agents that scan our production and staging sites"
      }
    }
  }
}