cURL
curl --request PUT \ --url https://api.supernotes.app/v1/user/prefs/flag/{pref_flag} \ --header 'Api-Key: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "pref_value": true } '
{ "type": "<string>", "detail": "<string>", "meta": "APIKey", "status": 123 }
Sets a boolean preference flag for the user
1
2
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
65536
131072
262144
524288
1048576
Successful Response