This URL updates a cluster based on the cluster id.
Resource URL
PUT /cluster/<cluster id>
Request Parameters
URL Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Cluster ID. You can use the | string | Yes |
Payload Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| A brief description of the cluster | string | Yes |
| Shared key to be used by the Sensors that will be registered with the cluster | string | Yes |
| Source of traffic (GWLB or Probe) | string | Yes |
Response Parameters
Following fields are returned in the response.
Field Name | Description | Data Type |
|---|---|---|
| Indicates if the PUT operation was successful. Value is set to Value is set to | string |
| Message if the PUT operation is successful | string |
| Not applicable | Not applicable |
Example
Request
PUT https://<NSM_IP>/intruvert/webservice/api/v1/cloud/cluster/3
Payload
{
"description": "test cluster ",
"sharedSensorKey": "abc321",
"trafficSource":"GWLB",
}
Response
{
"success": true,
"msg": "Successfully updated cluster [3]",
"data": null
}