Mutation

move_agent_pool

Moves an agent from its current pool to a new pool.

Arguments

input: MoveAgentPoolInput!

The fields used to specify which agent you want to move, and which pool it should now be in.


Input Fields

agent_id(): ID!
The unique identifier of the agent you want to move.
agent_pool_id(): ID!
The unique identifier of the pool you wish to move the agent to.

Return Fields

agent(): Agent
The updated agent machine.

Example

Query
mutation MoveAgentPool($input: MoveAgentPoolInput!) {
  move_agent_pool(input: $input) {
    agent {
      id
      agent_pool {
        id
        name
      }
    }
  }
}
Variables
{
  "input": {
    "agent_id": "61",
    "agent_pool_id": "10"
  }
}