Document apiReferenceCitations

citations.sources.remove

Remove a citation source from the document store.

mutates documentdry runnon-idempotent
doc.citations.sources.remove(…)

Expected result

Returns a CitationSourceMutationResult indicating success or a failure.

Inputs

targetobjectrequired
Fields
kind"entity"required
entityType"citationSource"required
sourceIdstringrequired

Result

Output fields
true
successtruerequired
sourceobjectrequired
Fields
kind"entity"required
entityType"citationSource"required
sourceIdstringrequired
false
successfalserequired
failureobjectrequired
Fields
codestringrequired
messagestringrequired
detailsunknown

Failures

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_TARGET
  • CAPABILITY_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