Set the license for an agent

Request

PUT https://{hostname}:{port}
    /cli/agentCLI/setLicenseType?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
licenseType string true The License Type to set on the agent(s)
agent string true Name or ID of the agent. This can be repeated for multiple agents.
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Related CLI command: setAgentLicenseType.