PATCH
/
v1
/
documentation
/
blocks
/
{block_id}
curl --request PATCH \
  --url http://localhost:8000/api/v1/documentation/blocks/{block_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "block_type": "bookmark",
  "content": [
    {
      "annotations": {
        "bold": "<string>",
        "italic": "<string>",
        "strikethrough": "<string>",
        "underline": "<string>",
        "code": "<string>",
        "color": "<string>"
      },
      "plain_text": "<string>",
      "href": "<string>"
    }
  ]
}'
{
  "data": {
    "block_type": "bookmark",
    "id": "<string>",
    "parent_id": "<string>",
    "content": [
      {
        "annotations": {
          "bold": "<string>",
          "italic": "<string>",
          "strikethrough": "<string>",
          "underline": "<string>",
          "code": "<string>",
          "color": "<string>"
        },
        "plain_text": "<string>",
        "href": "<string>"
      }
    ]
  },
  "meta": {}
}

Path Parameters

block_id
string
required

Block id of the block you want to update

Query Parameters

raw
boolean

Include raw response. When you want more data from the source

Body

application/json

Response

200
application/json

The response is of type object.