PUT
/
v1
/
sharing
/
{card_id}
/
{share_code_id}
curl --request PUT \
  --url https://api.supernotes.app/v1/sharing/{card_id}/{share_code_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "granted_perms": -1
}'
{
  "card_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "code": "<string>",
  "granted_perms": -1,
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Api-Key
string
headerrequired

Path Parameters

share_code_id
string
required
card_id
string
required

Body

application/json
granted_perms
enum<integer>
required
Available options:
-1,
0,
1318,
1382,
1398,
4094,
8190

Response

200 - application/json
card_id
string
required
code
string
required
granted_perms
enum<integer>
required
Available options:
-1,
0,
1318,
1382,
1398,
4094,
8190
id
string
required
owner_id
string
required