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

Authorizations

Api-Key
string
headerrequired

Body

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

Response

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