Create MSTP Instance (v2.0)
POST/v2.0/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/mstp_instances
Create an MSTP Instance.
Request
Path Parameters
The tenant ID.
The site ID.
The element 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
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": "MSTP_INSTANCE_CONFIG_CREATE_NOT_SUPPORTED"
}
]
}
}