PUT /flows/settings

Use this method to enable or disable activity flows.

Note: This API requires Lenovo XClarity Administrator v2.5.0 or later.

Authentication

Authentication with user name and password is required.

Request URL

PUT https://{management_server_IP}/flows/settings

Query parameters

None

Request body

Parameter Required / Optional Type Description
enabled Required Boolean Indicates whether activity flows are enabled. This can be one of the following values.
  • true. Activity flows are enabled.

  • False. Activity flows are disabled.

The following example enables activity flows.
{
   "enabled": true
}

Response codes

Code Description Comments
200 OK The request completed successfully.
404 Not found A specified resource cannot be found. A descriptive error message is returned in the response body.
500 Internal Server Error An internal error occurred. A descriptive error message is returned in the response body.

Response body

None