Update Block
PATCH/blocks/:block_id
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
block_id | UUID | Yes | The unique identifier of the block to update |
Request Body
{
"type": "string",
"paragraph": { ... }
}
Core Fields
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | The type of block. Must match the block's current type or be a valid type change. Determines which block-specific field should be provided. |
Block Types
Supported Types
| Type | JSON Key | Description |
|---|---|---|
divider | divider | Horizontal line separator |
heading_1 | heading_1 | Top-level heading |
heading_2 | heading_2 | Second-level heading |
heading_3 | heading_3 | Third-level heading |
paragraph | paragraph | Text paragraph |
table | table | Table container |
table_row | table_row | Row within a table |
image | image | Image block |
equation | equation | Mathematical equation |
bulleted_list_item | bulleted_list_item | Bulleted list item |
numbered_list_item | numbered_list_item | Numbered list item |
callout | callout | Highlighted callout box |