Update Site Profile (v2.0)
PUT/sdwan/v2.0/api/bulkconfigurations/sitetemplates/:site_template_id
Update a site profile.
Request
Path Parameters
site_template_id stringrequired
The site template ID.
- application/json
Body
update of the Site Profile
data string
Data required to deploy new sites at scale using the site template.
id string
The ID.
site_type stringrequired
The site type. Branch or DC.
template_description string
The site template description. Max length = 256.
template_name stringrequired
The site template name. Max length = 128.
variable_map object
Data required to deploy new sites at scale using this template.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
data string
Data required to deploy new sites at scale using the site template.
id string
The ID.
site_id string
The site ID.
site_type stringrequired
The site type. Branch or DC.
template_description string
The site template description. Max length = 256.
template_id string
The template ID.
template_name stringrequired
The site template name. Max length = 128.
variable_map object
Data required to deploy new sites at scale using this template.
{
"data": "string",
"id": "string",
"site_id": "string",
"site_type": "string",
"template_description": "string",
"template_id": "string",
"template_name": "string",
"variable_map": {}
}
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"
},
{
"code": "TEMPLATE_UPDATE_INVALID"
},
{
"code": "TEMPLATE_DEPLOYMENT_EXISTS"
},
{
"code": "INVALID_UPDATE_OPERATION"
},
{
"code": "TEMPLATE_INVALID_FORMAT"
},
{
"code": "TEMPLATE_VARIABLE_MISMATCH"
},
{
"code": "INVALID_VARIABLE_CHARACTER"
}
]
}
}
Loading...