Delete Access List (v2.0)
DELETE/v2.0/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/routing_aspathaccesslists/:config_id
Delete the access list.
Request
Path Parameters
tenant_id stringrequired
ID of the tenant.
site_id stringrequired
The ID of the site.
element_id stringrequired
The ID of the element.
config_id stringrequired
The ID of the access list.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
as_path_regex_list ASPathRegex[]
The AS Path Regex expression list.
as_path_regex stringrequired
The AS Path Regex expression.
order int32
The order of the AS Path Regex.
permit boolean
The value true or false if AS path regex is allowed.
auto_generated boolean
The value true or false for auto-generated access lists.
description
The description of the access list. Max size = 1024.
id string
The ID of the access list.
name stringrequired
The name of the access list. Max size = 128.
tags string[]
A information field that can be added to identify the access list. Maximum 10 unique tags of length 1024 each are allowed.
{
"as_path_regex_list": [
{
"as_path_regex": "string",
"order": 0,
"permit": true
}
],
"auto_generated": true,
"id": "string",
"name": "string",
"tags": [
"string"
]
}
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": "ACCESS_LIST_IN_USE"
},
{
"code": "CANNOT_DELETE_AUTOGENERATED_ACCESS_LIST"
}
]
}
}
Loading...