Delete User Preferences

Delete User Preferences

This API is used for deleting the requested user-preference. This API will also delete all the other user-prefereces, which are refering the requested user-preference as "parent".

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

Unique id, to indentify the user-preference

Query Parameters
integer
sequence_number
Required

The seq_no and primary_term together, helps to achieve optimized concurrency control. These two fields value, must be sent along with update request, if user want to avoid accidental concurrent changes. These value can be retrieved from the response of "GET" request of user-preference.

integer
primary_term
Required

The seq_no and primary_term together, helps to achieve optimized concurrency control. These two fields value, must be sent along with update request, if user want to avoid accidental concurrent changes. These value can be retrieved from the response of "GET" request of user-preference.


Authentication
This operation uses the following authentication methods.
Responses
204

No content

Operation doesn't return any data structure

401

Unauthorized

Operation doesn't return any data structure

409

Conflicting

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X DELETE -H 'Authorization: <value>' https://{api_host}/tcsa/api/configuration-management/v1/user-preferences/{id}?sequence_number=value&primary_term=v