Create User Preference

Create User Preference

This API is used for creating a new user-preference configuration.

Request
URI
POST
https://{api_host}/tcsa/api/configuration-management/v1/user-preferences
COPY
Request Body
OneOf
This class requires at least one of the following:
Authentication
This operation uses the following authentication methods.
Responses
201

Created

Returns UserPreferenceCreateResponse of type(s) application/json
"UserPreferenceCreateResponse Object"
string
id
Required

Id of newly created 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

409

The requested resource with the name, already exist.

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>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/tcsa/api/configuration-management/v1/user-preferences