Clone User Preference

Clone User Preference

This API is used for cloning the existing user-preference. If the requested "id" is defined as "parent_id" of any other user-preferences then those user-preferences will be also cloned.

Request
URI
POST
https://{api_host}/tcsa/api/configuration-management/v2/user-preferences/{id}/clone
COPY
Path Parameters
string
id
Required

Unique id, to indentify the user-preference


Authentication
This operation uses the following authentication methods.
Responses
201

Created

Returns CloneResponse of type(s) application/json
{
    "id": "6152e46d-17fe-48b5-a936-c15145c63d1f"
}
string
id
Required

Id of newly cloned resource.

Response Headers

string
Location

Provide information about the location of a cloned resource.


401

Unauthorized

Operation doesn't return any data structure

404

Resource not found

Operation doesn't return any data structure

500

Internal server error

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' https://{api_host}/tcsa/api/configuration-management/v2/user-preferences/{id}/clone