TypeScript SDK
Blocks
Delete a block
DELETE
TypeScript SDK
Sets a Block object, including page blocks, toDocumentation Index
Fetch the complete documentation index at: https://developers.notion.com/llms.txt
Use this file to discover all available pages before exploring further.
in_trash: true using the ID specified. In the Notion UI application, this moves the block to the “Trash” where it can still be accessed and restored.
To restore the block with the API, use the Update a block or Update page respectively.
Connection capabilitiesThis endpoint requires a connection to have update content capabilities. Attempting to call this API without update content capabilities will return an HTTP response with a 403 status code. For more information on connection capabilities, see the capabilities guide.
Errors
Returns a 404 HTTP response if the block doesn’t exist, or if the connection doesn’t have access to the block. Returns a 400 or 429 HTTP response if the request exceeds the request limits. Note: Each Public API endpoint can return several possible error codes. See the Error codes section of the Status codes documentation for more informationAuthorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The API version to use for this request. The latest version is 2026-03-11.
Available options:
2026-03-11 Path Parameters
Response
- Option 1
- Paragraph
- Heading 1
- Heading 2
- Heading 3
- Heading 4
- Bulleted List Item
- Numbered List Item
- Quote
- To Do
- Toggle
- Template
- Synced Block
- Child Page
- Child Database
- Equation
- Code
- Callout
- Divider
- Breadcrumb
- Table Of Contents
- Tab
- Column List
- Column
- Link To Page
- Table
- Table Row
- Meeting Notes
- Embed
- Bookmark
- Image
- Video
- Pdf
- File
- Audio
- Link Preview
- Unsupported