Create SD-WAN Application Configuration (v2.0)
POST/v2.0/api/tenants/:tenant_id/sdwanapps/:app_id/configs
Create an SD-WAN application configuration.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
app_id stringrequired
The SD-WAN tenant's app ID.
- application/json
Body
SD-WAN application config
id string
The SD-WAN app ID.
state stringrequired
Possible values: [ENABLED
, DISABLED
, PAUSED
]
The SD-WAN app configuration state.
user_config object
The user configuration of the SD-WAN app.
version string
The SD-WAN app version.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
id string
The SD-WAN app ID.
state stringrequired
Possible values: [ENABLED
, DISABLED
, PAUSED
]
The SD-WAN app configuration state.
user_config object
The user configuration of the SD-WAN app.
version string
The SD-WAN app version.
{
"id": "string",
"state": "ENABLED",
"user_config": {},
"version": "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": "SDWAN_APP_CONFIG_ALREADY_EXIST"
},
{
"code": "SDWAN_APP_INVALID_TENANT_APP"
},
{
"code": "SDWAN_APP_CONFIG_INVALID_RELEASE_VERSION"
},
{
"code": "SDWAN_APP_INVALID_RELEASE_STATE"
},
{
"code": "SDWAN_APP_USER_CONFIG_REQUIRED"
},
{
"code": "SDWAN_APP_INVALID_USER_CONFIG_PARAMETERS"
},
{
"code": "SDWAN_APP_INVALID_VALUE_TYPE"
},
{
"code": "SDWAN_APP_INVALID_VALUE_RANGE"
},
{
"code": "SDWAN_APP_REQUIRED_PARAMETER_KEY"
},
{
"code": "SDWAN_APP_INVALID_VALUE"
},
{
"code": "SDWAN_APP_DUPLICATE_EMAIL"
},
{
"code": "SDWAN_APP_INVALID_APP_CONFIG_STATE"
}
]
}
}
Loading...