Handle Operations on Spokecluster (v2.0)
POST/sdwan/v2.0/api/sites/:site_id/spokeclusters/:spoke_cluster_id/operations
Handle all the actions performed on the spoke cluster.
Request
Path Parameters
site_id stringrequired
ID of the site. More details on the site can be retrieved by querying the sites API.
spoke_cluster_id stringrequired
ID of the spoke cluster.
- application/json
Body
Spokecluster operation action
action string
Possible values: [RE_ELECTION
]
Lists the action to be performed on the cluster.
id string
The ID of the spoke cluster.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
action string
Possible values: [RE_ELECTION
]
Lists the action to be performed on the cluster.
id string
The ID of the spoke cluster.
{
"action": "RE_ELECTION",
"id": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
}
]
}
}
Loading...