Configuration Clone Enterprise Template

Configuration Clone Enterprise Template

Creates a new enterprise configuration from the enterprise default configuration. On success, returns the id of the newly created configuration object.

Privileges required:

CREATE ENTERPRISE_PROFILE, or

CREATE OPERATOR_PROFILE

Request
URI
POST
https://{api_host}/portal/rest/configuration/cloneEnterpriseTemplate
COPY
Request Body
{
    "enterpriseId": 0,
    "configurationType": "string",
    "name": "string",
    "description": "string"
}
integer
enterpriseId
Optional

Required if called from the operator or MSP context, identifies the target enterprise of the API call.

string
configurationType
Optional

If both network and segment based functionality is granted to the enterprise, chose which template type to clone. If not specified the type of the operator profile assigned to the enterprise will be used.

Possible values are : SEGMENT_BASED, NETWORK_BASED,
string
name
Optional

name

string
description
Optional

description

Responses
200

Request was successfully processed

Returns configuration_clone_enterprise_template_result of type(s) application/json
{
    "id": 0
}
integer
id
Required

The ID of the newly cloned configuration


400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/portal/rest/configuration/cloneEnterpriseTemplate