Create Service Label (v2.1)
POST/sdwan/v2.1/api/servicelabels
Create a new service label.
Request
- application/json
Body
Details of the Service Label to be created
The description of the service label. Max size = 256.
The ID of the service label.
The name of the service label. Max size = 128.
sase_properties SaseServiceLabelProperties
The sase service label properties.
The active sase service label.
A information field that can be added to identify the service label. Maximum 10 unique tags of length 1024 each are allowed.
Possible values: [CG_TRANSIT
, NON_CG_TRANSIT
, SASE
]
The network service type.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
The description of the service label. Max size = 256.
The ID of the service label.
The name of the service label. Max size = 128.
sase_properties SaseServiceLabelProperties
The sase service label properties.
The active sase service label.
A information field that can be added to identify the service label. Maximum 10 unique tags of length 1024 each are allowed.
Possible values: [CG_TRANSIT
, NON_CG_TRANSIT
, SASE
]
The network service type.
{
"id": "string",
"name": "string",
"sase_properties": {
"active_sase_label": true
},
"tags": [
"string"
],
"type": "CG_TRANSIT"
}
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": "SERVICELABEL_NAME_EXCEEDS_LIMIT"
},
{
"code": "SERVICELABEL_NAME_REQD"
},
{
"code": "DESCRIPTION_SIZE_EXCEEDED"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "SERVICELABEL_CREATE_NOTALLOWED_SASE"
}
]
}
}