Change a module version

This is an API function to change a module version of the Agent instance. This API function corresponds to the operation when you select the [Change Module Version] by using the [Action] button that is displayed by selecting the [Agent] on the operation screen of Manager.

= Remarks =

The following set of API functions is actually the same. (/api/v1/agents/agentId)

  • Change status of an Agent instance
  • Change operation settings for an Agent instance
  • Change unit
  • Change profile
  • Change a module version

In this manual, to write each API function separately for individual purposes, the request parameters are changed according to the purposes.

Format

curl -X PUT --header 'Content-Type: application/json'

--header 'X-API-KEY:APIKEY'

-d 'REQUESTBODYINJSONFORMAT'

'http://HOSTNAME:PORTNUMBER/api/v1/agents/agentId'

Request body (JSON format)

{

"moduleVersion": "string"

}

Request parameter (JSON format)
Item name Request parameter Type Value Default value
Module Version moduleVersion String

Specify the value by using a "V99L99R99P99" format.

• V: Version

• L: Level

• R: Revision

• P: Minor revision

Example: V01L04R00P00

Impossible to omit
Request parameter (Path format)
Item name Request parameter Type Value Default value
Agent ID agentId String   Impossible to omit