PUT
/
v1
/
user
/
prefs
/
flag
/
{pref_flag}
curl --request PUT \
  --url https://api.supernotes.app/v1/user/prefs/flag/{pref_flag} \
  --header 'Content-Type: application/json' \
  --data '{
  "pref_value": true
}'
"<any>"

Authorizations

Api-Key
string
headerrequired

Path Parameters

pref_flag
enum<integer>
required
Available options:
1,
2,
4,
8,
16,
32,
64,
128,
256,
512,
1024,
2048,
4096

Body

application/json
pref_value
boolean
required

Response

200 - application/json

The response is of type any.