Set an agent unavailable

Request

POST https://{hostname}:{port}
    /cli/agentCLIunavailable?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
agent string true Name or ID of the agent
unavailable boolean true The desired unavailable state.
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Related CLI command: setAgentUnavailable.