Alpha: Document API is currently alpha and subject to breaking changes.
Summary
- Operation ID:
blocks.delete - API member path:
editor.doc.blocks.delete(...) - Mutates document:
yes - Idempotency:
conditional - Supports tracked mode:
no - Supports dry run:
yes - Deterministic target resolution:
yes
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
target | DeletableBlockNodeAddress | yes | DeletableBlockNodeAddress |
Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
deleted | DeletableBlockNodeAddress | yes | DeletableBlockNodeAddress |
success | true | yes | Constant: true |
Example response
Pre-apply throws
TARGET_NOT_FOUNDAMBIGUOUS_TARGETCAPABILITY_UNAVAILABLEINVALID_TARGETINVALID_INPUTINTERNAL_ERROR
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema
Raw success schema
Raw success schema
Raw failure schema
Raw failure schema

