PUT
/
v1
/
user
/
pins
curl --request PUT \
  --url https://api.supernotes.app/v1/user/pins \
  --header 'Api-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pins": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "mode": "replace"
}'
[
  "3c90c3cc-0d44-4b50-8888-8dd25736052a"
]

Authorizations

Api-Key
string
header
required

Body

application/json
pins
string[]
required
mode
enum<string>
default:replace
Available options:
add,
remove,
replace

Response

200
application/json
Successful Response

The response is of type string[].