Blocks

Deletes a single block by id (including nested child blocks). See Blocks.

<br>

Rate limit: 30 requests per 60 seconds

delete/block

Request

  • Base URL
    https://api.capacities.io
  • Auth
    HTTP bearer

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 OK

object required
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).

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.

Changes

    • info

      added the optional property blocks/additionalProperties/items/oneOf[#/components/schemas/ApiEntityBlock]/date/allOf[#/components/schemas/ApiDatePayload]/recurrence to the response with the status

    • info

      added the optional property blocks/additionalProperties/items/oneOf[#/components/schemas/ApiEntityBlock]/date/allOf[#/components/schemas/ApiDatePayload]/reminder to the response with the status

    • info

      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 status

    5 more changes in this revision