Delete Community List (v2.0)
DELETE/v2.0/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/routing_ipcommunitylists/:config_id
Deletes the community 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 IP community list.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
auto_generated boolean
The value true or false for auto-generated IP community lists.
community_list RoutingIPCommunity[]
The details of the IP community lists.
community_str stringrequired
The community string. Max size = 256.
permit boolean
The permit of the IP community sctring = Permit or Deny.
description
The description of the IP community list. Max size = 1024.
id string
The ID of the IP community list.
name stringrequired
The name of the IP community list. Max size = 128.
tags string[]
A information field that can be added to identify the IP community list. Maximum 10 unique tags of length 1024 each are allowed.
{
"auto_generated": true,
"community_list": [
{
"community_str": "string",
"permit": 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": "COMMUNITY_LIST_IN_USE"
},
{
"code": "CANNOT_DELETE_AUTOGENERATED_COMMUNITY_LIST"
}
]
}
}
Loading...