curl --request PATCH \
--url https://api.supernotes.app/v1/user/prefs \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"sort_type": 0,
"indent_type": 0,
"appearance_mode": -1,
"day_theme": 1,
"night_theme": 1,
"couple_key": "<string>",
"persona": 0,
"haptic_threshold": 0,
"daily_append_format": "plain"
}'
{
"indent_type": 0,
"sort_type": 0,
"appearance_mode": -1,
"day_theme": 1,
"night_theme": 1,
"couple_key": "<string>",
"persona": 0,
"haptic_threshold": 0,
"daily_append_format": "plain"
}
Sets multiple preferences for the user
curl --request PATCH \
--url https://api.supernotes.app/v1/user/prefs \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"sort_type": 0,
"indent_type": 0,
"appearance_mode": -1,
"day_theme": 1,
"night_theme": 1,
"couple_key": "<string>",
"persona": 0,
"haptic_threshold": 0,
"daily_append_format": "plain"
}'
{
"indent_type": 0,
"sort_type": 0,
"appearance_mode": -1,
"day_theme": 1,
"night_theme": 1,
"couple_key": "<string>",
"persona": 0,
"haptic_threshold": 0,
"daily_append_format": "plain"
}
Successful Response
The response is of type object
.