Mutation

deauthorize_agent

Revokes the authorization of an existing agent machine so that it can no longer communicate with the Enterprise server or run scans.

Arguments

input: DeauthorizeAgentInput!

The fields used to specify the agent machine whose authorization you want to revoke.


Input Fields

id(): ID!
The unique identifier of the agent machine whose authorization you want to revoke.

Return Fields

id(): ID
The unique identifier of the agent machine whose authorization was successfully revoked.

Example

Query
mutation DeauthorizeAgent($input: DeauthorizeAgentInput!) {
  deauthorize_agent(input: $input) {
    id
  }
}
Variables
{
  "input": {
    "id": "5"
  }
}