Update VPN Link Admin State (v2.0)
PUT/v2.0/api/tenants/:tenant_id/vpnlinks/:vpn_link_id/state
Update the admin state of the VPN link.
Request
Path Parameters
tenant_id stringrequired
ID of the tenant.
vpn_link_id stringrequired
The ID of the VPN link.
- application/json
Body
al_id string
Al Id
enabled boolean
The enabled states on a VPN link.
id string
The ID of the VPN link.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
al_id string
Al Id
enabled boolean
The enabled states on a VPN link.
id string
The ID of the VPN link.
{
"al_id": "string",
"enabled": true,
"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": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "ANYNET_VPL_ADMINSTATE_NOT_FOUND"
}
]
}
}
Loading...