Update user preferences

Allows for updating of user preferences.

PATCH
https://identity.krystal.io/api/v1/user/preferences

If successful, this endpoint will return a 200 OK status.

Scopes

One of the following scopes are required to use this endpoint.

Arguments

The following arguments are supported for this endpoint.

Name Type Default Value

properties Required

UserUpdatePreferencesProperties None

Potential Errors

The following errors may occur during this request.

Details HTTP status

validation_error

An error ocurred with the input provided

422 Unprocessable Entity

Returned Object

When the request is successful, you can expect an object matching the specification below to be returned.

{
    preferences: UserPreferences {
        color_scheme: String
    }
}