Update Spoke Cluster (v2.0)
PUT/v2.0/api/tenants/:tenant_id/sites/:site_id/spokeclusters/:spoke_cluster_id
Details of the spoke cluster that needs to be modified.
Request
Path Parameters
The tenant ID.
ID of the site. More details on the site can be retrieved by querying the sites API.
ID of the spoke cluster.
- application/json
Body
Details of the spokecluster to be modified
Lists the intervals in which the active device advertises its status to the backup.
The cluster description.
The ID of the site.
Name of the cluster.
Indicates if preemption is required or not.
Displays the details about the tags or labels applied to the clusters.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
Lists the intervals in which the active device advertises its status to the backup.
The cluster description.
The ID of the site.
Name of the cluster.
Indicates if preemption is required or not.
Displays the details about the tags or labels applied to the clusters.
{
"advertisement_interval": 0,
"id": "string",
"name": "string",
"preempt": true,
"tags": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON_INPUT"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "ADVERTISEMENT_INTERVAL_INVALID_DECIMAL"
},
{
"code": "ADVERTISEMENT_INTERVAL_REQD"
},
{
"code": "ADVERTISEMENT_INTERVAL_LOWER_THAN_ONE_SEC_ERR"
}
]
}
}