Menu
Delete A Block
Delete a block
DELETE
/v1/blocks/{id}Use it in a workflow
- Add a step and choose the Notion connector.
- Pick the Delete A Block action (under Blocks).
- Fill in the fields below, then reference the result from later steps as
{{deleteABlock.response.data}}.
Request
Path parameters
Headers
Response
Returns 200 with an object. Read it in later steps with {{deleteABlock.response.data.<field>}}.
{
"archived": true,
"created_by": {
"id": "6794760a-1f15-45cd-9c65-0dfe42f5135a",
"object": "user"
},
"created_time": {},
"has_children": false,
"id": "4868767d-9029-4b9d-a41b-652ef4c9c7b9",
"last_edited_by": {
"id": "92a680bb-6970-4726-952b-4f4c03bff617",
"object": "user"
},
"last_edited_time": {},
"object": "block",
"paragraph": {
"text": [
{
"annotations": {
"bold": false,
"code": false,
"color": "default",
"italic": false,
"strikethrough": false,
"underline": false
},
"href": null,
"plain_text": "hello to you",
"text": {
"content": "hello to you",
"link": null
},
"type": "text"
}
]
},
"type": "paragraph"
}
Need more? See the Notion guide for connection setup and behaviour shared by every action.
Was this page helpful?