Document apiReferenceToc

toc.unmarkEntry

Remove a TC (table of contents entry) field from the document.

mutates documentdry runconditional
doc.toc.unmarkEntry(…)

Expected result

Returns a TocEntryMutationResult with the removed entry address on success.

Inputs

targetobjectrequired
Fields
kind"inline"required
nodeType"tableOfContentsEntry"required
nodeIdstringrequired

Result

Output fields
true
successtruerequired
entryobjectrequired
Fields
kind"inline"required
nodeType"tableOfContentsEntry"required
nodeIdstringrequired
false
successfalserequired
failureobjectrequired
Fields
code"NO_OP" | "INVALID_TARGET" | "TARGET_NOT_FOUND" | "CAPABILITY_UNAVAILABLE" | "INVALID_INSERTION_CONTEXT" | "INVALID_INPUT"required
messagestringrequired
detailsunknown

Failures

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_TARGET
  • CAPABILITY_UNAVAILABLE

Non-applied receipt codes

  • NO_OP

Raw schemas

Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.

View raw JSON schemas