Clone Site Profile (v2.0)
POST/v2.0/api/tenants/:tenant_id/bulkconfigurations/sitetemplates/:site_template_id/clone
Clone a site profile.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
site_template_id stringrequired
ID of the site template.
- application/json
Body
Clone of the Site Profile
id string
The ID.
template_description string
The site template description. Max length = 256.
template_name string
The site template name. Max length = 128.
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.
tenant_id stringrequired
The tenant ID.
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",
"tenant_id": "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": "INPUT_JSON_EMPTY"
},
{
"code": "TEMPLATE_NAME_EXISTS"
},
{
"code": "INVALID_INPUT_PARAM"
},
{
"code": "INVALID_OPERATION"
},
{
"code": "INVALID_TEMPLATE_PARAM"
},
{
"code": "ATTEMPT_TO_CLONE_IMPORTED_TEMPLATE"
}
]
}
}
Loading...