Update Admin UI User Preferences.

Prev Next
Put
/my-preferences

Update Admin UI user preferences and search history of admin user. Note that this endpoint does not validate keys or values but a max length of 100000 characters is enforced.

Security
HTTP
Type bearer
Body parameters
object

Preferences and search history in an unspecified key/value format.

Min length1
Max length10000
Example{ "searchHistory": [ "search term 1", "search term 2", "search term 3" ], "preferences": { "theme": "dark" } }
Responses
200

Admin UI User Preferences were created/updated successfully.

401

Token error. Login again.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

406

Invalid 'Accept' header.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

422

Request validation error. Check "errors" array for details.

Expand All
object

Http 422 error for object validation.

id
string

Machine readable error code.

message
string

Human readable error details.

errors
Array of object

List of fields with validation errors.

object
field
string

Name of the field that failed validation.

Examplename
message
string

Failure reason.

Examplemay not be null
500

Unexpected server side error.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.