Documentation Index
Fetch the complete documentation index at: https://superdoc-caio-pizzol-sd-3104-metadata-api.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Summary
Remove an anchored-metadata entry. Strips the anchor content-control wrapper (its content stays in the document) and deletes the payload entry from the Storage Part. In v1 these writes are sequenced, not transactional: the adapter resolves the target up-front so missing-target failures land before any state change, but a crash strictly between the two writes can leave a dangling payload. When the backing part has no remaining entries, the part itself is removed.- Operation ID:
metadata.remove - API member path:
editor.doc.metadata.remove(...) - Mutates document:
yes - Idempotency:
non-idempotent - Supports tracked mode:
no - Supports dry run:
yes - Deterministic target resolution:
yes
Expected result
Returns an AnchoredMetadataMutationResult with the removed entry id on success or a failure.Input fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Example request
Output fields
Variant 1 (success=true)
| Field | Type | Required | Description |
|---|---|---|---|
id | 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_UNAVAILABLEREVISION_MISMATCH
Non-applied failure codes
TARGET_NOT_FOUND
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

