Configuration Clone And Convert Configuration

Configuration Clone And Convert Configuration

Clones and converts the specified network configuration (by configurationId). Accepts an enterpriseId or networkId to associate the new configuration with an enterprise or network. 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/cloneAndConvertConfiguration
COPY
Request Body

Show optional properties

{
    "configurationId": 0
}
{
    "configurationId": 0,
    "enterpriseId": 0,
    "name": "string",
    "description": "string",
    "guestVLANSegmentObjectId": 0
}
integer
configurationId
Required

configurationId

integer
enterpriseId
Optional

enterpriseId

string
name
Optional

name

string
description
Optional

description

integer
guestVLANSegmentObjectId
Optional

guestVLANSegmentObjectId

Responses
200

Request was successfully processed

Returns configuration_clone_and_convert_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 '{"configurationId:"integer"}' https://{api_host}/portal/rest/configuration/cloneAndConvertConfiguration