PATCH
/
v1
/
cards
curl --request PATCH \
  --url https://api.supernotes.app/v1/cards \
  --header 'Content-Type: application/json' \
  --data '{
  "[card_id]": {
    "data": {
      "color": "blue",
      "html": "<string>",
      "icon": "<string>",
      "markup": "<string>",
      "meta": {},
      "modified_when": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "tags": [
        "<string>"
      ],
      "targeted_when": "2023-11-07T05:31:56Z",
      "ydoc": "<string>"
    },
    "membership": {
      "auto_publish_children": true,
      "liked": true,
      "opened_when": "2023-11-07T05:31:56Z",
      "personal_color": "blue",
      "personal_tags": [
        "<string>"
      ],
      "status": -2,
      "view": {
        "display_type": 1,
        "sort_ascending": true,
        "sort_type": 0
      },
      "visibility": -1
    },
    "parents": {
      "[card_id]": {
        "archived": true,
        "created_when": "2023-11-07T05:31:56Z",
        "cutting": true,
        "publishing_perms": -1
      }
    }
  }
}'
{}

Authorizations

Api-Key
string
headerrequired

Headers

snowshoe-session-id
string | null

Body

application/json
[card_id]
object

Response

200 - application/json

The response is of type object.