headerFooters.refs.clear
Clear an explicit header/footer reference from a section slot.
mutates documentdry runconditional
doc.headerFooters.refs.clear(…)Expected result
Returns a SectionMutationResult receipt; reports NO_OP if no explicit reference existed.
Inputs
targetobjectrequiredFields
kind"headerFooterSlot"requiredsectionSectionAddressrequiredFields
kind"section"requiredsectionIdstringrequiredheaderFooterKind"header" | "footer"requiredvariant"default" | "first" | "even"requiredResult
Output fields
true
successtruerequiredsectionSectionAddressrequiredFields
kind"section"requiredsectionIdstringrequiredfalse
successfalserequiredfailureobjectrequiredFields
code"NO_OP"requiredmessagestringrequireddetailsunknownFailures
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETINVALID_INPUT
2 more codes
CAPABILITY_UNAVAILABLEINTERNAL_ERROR
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