Update Service Label (v2.0)
PUT/sdwan/v2.0/api/servicelabels/:service_label_id
Update a service label.
Request
Path Parameters
The ID of the service label.
- application/json
Body
Details of the Service Label to be updated
The description of the service label. Max size = 256.
The ID of the service label.
The name of the service label. Max size = 128.
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.
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",
"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": "INVALID_JSON"
},
{
"code": "SERVICELABEL_NAME_EXCEEDS_LIMIT"
},
{
"code": "SERVICELABEL_NAME_REQD"
},
{
"code": "DESCRIPTION_SIZE_EXCEEDED"
},
{
"code": "SERVICELABEL_CONFIG_UPDATE_NOTALLOWED"
},
{
"code": "SERVICELABEL_UPDATE_NOTALLOWED_SASE"
}
]
}
}