Perform Operation on VPN Link (v2.0)
POST/sdwan/v2.0/api/vpnlinks/:vpn_link_id/operations
Perform an operation on a VPN link.
Request
Path Parameters
vpn_link_id stringrequired
The ID of the VPN link.
- application/json
Body
action string
Possible values: [refresh_vpnlink_status
]
The actions performed on a VPN link.
id string
The ID of the VPN link.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
action string
Possible values: [refresh_vpnlink_status
]
The actions performed on a VPN link.
id string
The ID of the VPN link.
{
"action": "refresh_vpnlink_status",
"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": "VPL_NOT_FOUND"
},
{
"code": "VPL_ACTION_INSUFFICIENT_VPE"
},
{
"code": "VPNLINK_INVALID_ACTION"
}
]
}
}
Loading...