Preferences Operations Delete By Key
Deletes a specific preference key for the authenticated user. Accessible to every authenticated role. The path /api/v1/users/preferences/{key} is an alias of /api/v1/user/preferences/{key} for every method. Answers 204 whether or not the key is stored.
Preference key. Free-form: any non-blank name of 1 to 256 characters; the server keeps no allow-list. The console itself uses names such as tabs.
tabs.endpoints
204 No Content successful response. The key is removed, and the answer is the same when the key was not stored
401 Unauthorized: UNAUTHENTICATED when the VTP_SESSION cookie is missing, unknown, expired or revoked
{
"errorCode": "string",
"message": "string",
"path": "string",
"timestamp": "string",
"reason": "string"
}
Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.
Human-readable error description
Request URI path that produced the error
Timestamp when the error occurred as an ISO 8601 date-time with offset
A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/v1/user/preferences/{key}