Delete Service Label (v2.0)
DELETE/sdwan/v2.0/api/servicelabels/:service_label_id
Delete a service label.
Request
Path Parameters
service_label_id stringrequired
The ID of the service label.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
description
The description of the service label. Max size = 256.
id string
The ID of the service label.
name stringrequired
The name of the service label. Max size = 128.
tags string[]
A information field that can be added to identify the service label. Maximum 10 unique tags of length 1024 each are allowed.
type stringrequired
Possible values: [CG_TRANSIT
, NON_CG_TRANSIT
, SASE
]
The network service type.
{
"id": "string",
"name": "string",
"tags": [
"string"
],
"type": "CG_TRANSIT"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "SERVICELABEL_DELETE_NOTALLOWED_SERVICEBINDING_EXISTS"
},
{
"code": "SERVICELABEL_DELETE_NOTALLOWED_POLICYRULE_EXISTS"
},
{
"code": "SERVICELABEL_USED_IN_NETWORK_POLICYRULE"
},
{
"code": "SERVICELABEL_DELETE_NOTALLOWED_SASE"
}
]
}
}
Loading...