Update MSTP Instance (v2.0)
PUT/v2.0/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/mstp_instances/:mstp_instance_id
Update a MSTP instance for an element.
Request
Path Parameters
The tenant ID.
The site ID.
The element ID.
The MSTP instance ID.
- application/json
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.
Responses
- 200
- 400
- 404
Successful Operation
- application/json
- Schema
- Example (from schema)
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
- 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": "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
- 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": "MSTP_INSTANCE_NOT_FOUND"
}
]
}
}