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 }'
"<any>"
Sets a boolean preference flag for the user
1
2
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
Successful Response
The response is of type any.
any