Document apiReferenceFields
fields.remove
Remove a field from the document.
mutates documentdry runnon-idempotent
doc.fields.remove(…)Expected result
Returns a FieldMutationResult indicating success or a failure.
Inputs
mode"raw"requiredtargetobjectrequiredFields
kind"field"requiredblockIdstringrequiredoccurrenceIndexintegerrequirednestingDepthintegerstoryIdstringfieldIdstringResult
Output fields
true
successtruerequiredfieldobjectrequiredFields
kind"field"requiredblockIdstringrequiredoccurrenceIndexintegerrequirednestingDepthintegerstoryIdstringfieldIdstringfalse
successfalserequiredfailureobjectrequiredFields
codestringrequiredmessagestringrequireddetailsunknownFailures
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETCAPABILITY_UNAVAILABLE
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