Create a user preference

This operation enables you to create a new preference for a user.

Path Params
int32
required

User ID.

string
required

Name of the preference (e.g. scoring_method).

Query Params
string
enum
Defaults to json

Selects the requested response representation format.

Allowed:
Body Params

Holds the user preference information.

boolean
enum

Determines whether or not a non-admin user may modify this preference. The default value is 'true' if not specified.

Allowed:
string
required

Value of the new preference.

Responses

400

BadRequestResponse indicates a request with invalid parameters.

401

UnauthorizedResponse signals an unauthorized API access.

403

ForbiddenResponse signals a request for a resource that does not exist or is not authorized.

409

Conflict request could not be processed because of conflict in the request, such as an edit conflict.

500

GenericError generic error.

Language
Response
Choose an example:
application/json