Create LAN Segment (v2.0)
Create a new LAN segment.
Path Parameters
tenant_id string required
The ID of the tenant.
application/json
Request Body
Details of the lan segment model to be created
description
The description of the LAN segment. Maz size = 256.
id string
The ID of the LAN segment.
name string
The name of the LAN segment. Max size = 128.
Responses
- 200
- 400
Successful Operation
application/json
Schema
Example (from schema)
Schema
description
The description of the LAN segment. Maz size = 256.
id string
The ID of the LAN segment.
name string
The name of the LAN segment. Max size = 128.
{
"id": "string",
"name": "string"
}
Bad Request
application/json
Schema
Example (from schema)
Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
message string
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "NETWORK_CONTEXT_CONFIG_DESCRIPTION_INVALID"
},
{
"code": "NAME_EXCEEDS_LIMIT"
},
{
"code": "NETWORK_CONTEXT_CONFIG_NAME_REQD"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
}
]
}
}
Loading...