Configuration Clone Configuration

Configuration Clone Configuration

Clones the specified configuration (by configurationId) and all associated configuration modules. Accepts an enterpriseId or networkId to associate the new configuration with an enterprise or network. Select modules may also be specified. 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/cloneConfiguration
COPY
Request Body
{
    "configurationId": 0,
    "id": 0,
    "networkId": 0,
    "enterpriseId": 0,
    "name": "string",
    "description": "string"
}
integer
configurationId
Optional

configurationId

integer
id
Optional

Alias for configurationId

integer
networkId
Optional

networkId

integer
enterpriseId
Optional

enterpriseId

string
name
Optional

name

string
description
Optional

description

Responses
200

Request was successfully processed

Returns configuration_clone_configuration_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/cloneConfiguration