---
title: "Delete block"
method: DELETE
path: "/block"
tags: ["Blocks"]
---

# Delete block

`DELETE /block`

## Request

- Base URL: `https://api.capacities.io`
- URL: `https://api.capacities.io/block`
- Auth: HTTP bearer

Deletes a single block by id (including nested child blocks). See [Blocks](/api/concepts/blocks).

<br>

**Rate limit**: 30 requests per 60 seconds

## Query parameters

- `objectId` string, uuid, required: Object id containing the block.
- `blockId` string, uuid, required: Block id to remove (including nested child blocks).

## Response `200`

200 OK

- object
  - `id` string, uuid, required: Unique identifier of the object.
  - `structureId` union, required: Structure id (UUID for custom types, or a built-in id such as RootPage).
    - string, uuid
    - 'RootSpace' | 'User' | 'UserPersonal' | 'RootDatabase' | 'RootQuery' | 'RootPage' | 'RootStructure' | 'RootEntity' | 'RootBlocksTemplate' | 'MediaImage' | 'MediaPDF' | 'MediaAudio' | 'MediaVideo' | 'MediaWebResource' | 'MediaFile' | 'MediaTweet' | 'RootAIChat' | 'RootSimpleTable' | 'RootWhiteboard' | 'RootDailyNote' | 'RootTag' | 'UtilDate' | 'RootTask'
  - `collections` string[], required: Collection ids this object is currently assigned to.
  - `properties` ApiObjectProperties, required: Map of property definition id to typed object property value.
  - `blocks` object: Block content keyed by property definition id.
  - `files` object[]: File resources attached to this object. Present only for media object types.
    - `url` string, required: Signed URL for downloading the original file.
    - `fileType` string, required: MIME type of the file (e.g. `image/jpeg`, `application/pdf`).
    - `expirationDate` string: ISO 8601 datetime after which the signed URL expires. Re-fetch the object to get a fresh URL.

## Changes

- **2026-11-25** `cb48d3ffc537`: 8 info
  - added the optional property `blocks/additionalProperties/items/oneOf[#/components/schemas/ApiEntityBlock]/date/allOf[#/components/schemas/ApiDatePayload]/recurrence` to the response with the `200` status
  - added the optional property `blocks/additionalProperties/items/oneOf[#/components/schemas/ApiEntityBlock]/date/allOf[#/components/schemas/ApiDatePayload]/reminder` to the response with the `200` status
  - added the optional property `blocks/additionalProperties/items/oneOf[#/components/schemas/ApiTextBlock]/tokens/items/oneOf[#/components/schemas/ApiLinkToken]/date/allOf[#/components/schemas/ApiDatePayload]/recurrence` to the response with the `200` status
  - added the optional property `blocks/additionalProperties/items/oneOf[#/components/schemas/ApiTextBlock]/tokens/items/oneOf[#/components/schemas/ApiLinkToken]/date/allOf[#/components/schemas/ApiDatePayload]/reminder` to the response with the `200` status
  - …4 more
- **2026-09-24** `a4a8393a781e`: 1 warning
  - added the new `RootWhiteboard` enum value to the `structureId/anyOf[subschema #2]/` response property for the response status `200`
- **2026-09-08** `fbf7beb5767f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/capacities/apis/capacities-api-beta/changes/block/delete.md)

---

[API](https://skmtc.dev/capacities/apis/capacities-api-beta.md) - [All operations](https://skmtc.dev/capacities/apis/capacities-api-beta/llms.txt) - [OpenAPI document](https://skmtc.dev/capacities/apis/capacities-api-beta/revisions/8a6ece33d9bf?raw)
