Cards
Collections
Friends
Api Keys
Members
Profiles
Review
Share
User
- PATCHSet Preferences
- PUTSet Preference Flag
- PUTSet Feature Preview Flag
- GETGet User Email Addresses
- GETGet Email
- DELDelete Email
- PUTMake Email Primary
- GETCheck Auth
- GETCheck If Fresh Access Token
- GETGet Current User
- PUTUpdate Current User
- PUTUpdate Current User Bio And Pic
- GETGet Pins
- PUTUpdate Pins
Share
Update Share Code
Modify an existing share code (if user has permission)
PUT
/
v1
/
sharing
/
{card_id}
/
{share_code_id}
curl --request PUT \
--url https://api.supernotes.app/v1/sharing/{card_id}/{share_code_id} \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"granted_perms": -1
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"card_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"code": "<string>",
"granted_perms": -1
}
Authorizations
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request PUT \
--url https://api.supernotes.app/v1/sharing/{card_id}/{share_code_id} \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"granted_perms": -1
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"card_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"code": "<string>",
"granted_perms": -1
}
Assistant
Responses are generated using AI and may contain mistakes.