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"
]
Modify which cards the user has ‘pinned’
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"
]
Successful Response
The response is of type string<uuid>[]
.