v51

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-0118684573.2 KB
User Preferences

Setting a sitewide preference

put/v1/user-preferences/site/{propertyName}

Path parameters

propertyNamestring required

The name of the preference.

Request body

{"stackTrail":"paths:/v1/user-preferences/site/{propertyName}:put:requestBody:content:application/json:schema:properties:propertyValue","oasType":"schema","type":"unknown","description":"The preference to be stored. It may be of any json-serializable type."}

Example request

{
  "propertyValue": true
}

Response

The preference was stored

successboolean required

Example response

{
  "success": true
}