PATCH
/
v1
/
user
/
prefs
curl --request PATCH \
  --url https://api.supernotes.app/v1/user/prefs \
  --header 'Content-Type: application/json' \
  --data '{
  "appearance_mode": -1,
  "couple_key": "<string>",
  "day_theme": 1,
  "indent_type": 0,
  "night_theme": 1,
  "persona": 1,
  "sort_type": 0
}'
{
  "appearance_mode": -1,
  "couple_key": "<string>",
  "day_theme": 1,
  "indent_type": 0,
  "night_theme": 1,
  "persona": 1,
  "sort_type": 0
}

Authorizations

Api-Key
string
headerrequired

Body

application/json
appearance_mode
enum<integer>
Available options:
-1,
0,
1
couple_key
string | null
day_theme
enum<integer>
Available options:
1,
2,
3,
4
indent_type
enum<integer>
Available options:
0,
1,
2
night_theme
enum<integer>
Available options:
1,
2,
3,
4
persona
enum<integer> | null
Available options:
1,
2,
3
sort_type
enum<integer>
Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11

Response

200 - application/json
appearance_mode
enum<integer>
required
Available options:
-1,
0,
1
couple_key
string | null
required
day_theme
enum<integer>
required
Available options:
1,
2,
3,
4
indent_type
enum<integer>
required
Available options:
0,
1,
2
night_theme
enum<integer>
required
Available options:
1,
2,
3,
4
persona
enum<integer> | null
Available options:
1,
2,
3
sort_type
enum<integer>
required
Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11