Update Site Level Extension Configuration (v2.0)
PUT/sdwan/v2.0/api/sites/:site_id/extensions/:extension_id
Update a specific extension configuration associated with a site.
Request
Path Parameters
site_id stringrequired
The site ID.
extension_id stringrequired
The extension ID.
- application/json
Body
conf objectrequired
disabled boolean
List the disabled extensions.
entity_id string
The entity ID. Only numbers are allowed (0-9).
id string
The ID.
name stringrequired
The name of the extension. Max size = 128.
namespace stringrequired
The extension namespace. Values = ^[a-z][a-z0-9/]*[a-z0-9]+$.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
conf objectrequired
disabled boolean
List the disabled extensions.
entity_id string
The entity ID. Only numbers are allowed (0-9).
id string
The ID.
name stringrequired
The name of the extension. Max size = 128.
namespace stringrequired
The extension namespace. Values = ^[a-z][a-z0-9/]*[a-z0-9]+$
{
"conf": {},
"disabled": true,
"entity_id": "string",
"id": "string",
"name": "string",
"namespace": "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": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_INPUT"
},
{
"code": "EXTENSION_NOT_FOUND"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
},
{
"code": "NAT_EXTENSION_ENABLED_ON_NATPOLICY_ELEMENT"
}
]
}
}
Loading...