Update MSTP Instance (v2.0)
Update a MSTP instance for an element.
Path Parameters
The tenant ID.
The site ID.
The element ID.
The MSTP instance ID.
Request Body
The MSTP instance description. Max limit = 256.
The MSTP instance ID.
The MSTP instance number. Valid values are 0-255.
The MSTP instance priority. Valid values are 0-15.
The name of the MSTP instance. Max limit = 128.
A information field that can be added to identify the MSTP instance. Maximum 10 unique tags of length 128 each are allowed.
- 200
- 400
- 404
Successful Operation
Schema
The MSTP instance description. Max limit = 256.
The MSTP instance ID.
The MSTP instance number. Valid values are 0-255.
The MSTP instance priority. Valid values are 0-15.
The name of the MSTP instance. Max limit = 128.
A information field that can be added to identify the MSTP instance. Maximum 10 unique tags of length 128 each are allowed.
{
"id": "string",
"instance_number": 0,
"instance_priority": 0,
"name": "string",
"tags": [
"string"
]
}
Bad Request
Schema
- Array [
- ]
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON_INPUT"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
},
{
"code": "MSTP_INSTANCE_INVALID_INSTANCE_NUMBER"
},
{
"code": "MSTP_INSTANCE_INVALID_STP_PRIORITY"
},
{
"code": "MSTP_CONFIG_INVALID_DEFAULT_INSTANCE_NUMBER_CANNOT_BE_MODIFIED"
}
]
}
}
Not Found
Schema
- Array [
- ]
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "MSTP_INSTANCE_NOT_FOUND"
}
]
}
}