Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Remove a footnote or endnote from the document.- Operation ID:
footnotes.remove - API member path:
editor.doc.footnotes.remove(...) - Mutates document:
yes - Idempotency:
non-idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a FootnoteMutationResult indicating success or a failure.Input fields
| Field | Type | Required | Description |
|---|---|---|---|
target | object(kind=“entity”) | yes | |
target.entityType | "footnote" | yes | Constant: "footnote" |
target.kind | "entity" | yes | Constant: "entity" |
target.noteId | string | yes |
Example request
Output fields
Variant 1 (footnote.kind=“entity”)
| Field | Type | Required | Description |
|---|---|---|---|
footnote | object(kind=“entity”) | yes | |
footnote.entityType | "footnote" | yes | Constant: "footnote" |
footnote.kind | "entity" | yes | Constant: "entity" |
footnote.noteId | string | yes | |
success | true | yes | Constant: true |
Variant 2 (success=false)
| Field | Type | Required | Description |
|---|---|---|---|
failure | object | yes | |
failure.code | string | yes | |
failure.details | any | no | |
failure.message | string | yes | |
success | false | yes | Constant: false |
Example response
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETCAPABILITY_UNAVAILABLE
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

