Reset BGP Peer Config (v2.0)
POST/v2.0/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/bgppeers/:bgp_peer_id/operations
Reset the BGP peer configuration.
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.
bgp_peer_id stringrequired
The ID of the BGP peer.
- application/json
Body
Details of the BGP peer config to be created
action stringrequired
Possible values: [HARD_RESET
, SOFT_RESET
, REVERT_AUTOGENERATED
, REFRESH_STATUS
]
The BGP peer actions.
id string
The ID of the BGP peer.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
action stringrequired
Possible values: [HARD_RESET
, SOFT_RESET
, REVERT_AUTOGENERATED
, REFRESH_STATUS
]
The BGP peer actions.
id string
The ID of the BGP peer.
{
"action": "HARD_RESET",
"id": "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": "BGP_PEER_CONFIG_NOT_FOUND"
}
]
}
}
Loading...