Document apiReferenceProtection

protection.clearEditingRestriction

Disable document-level editing restriction by setting enforcement to off. Preserves the protection element and its metadata for round-trip fidelity.

mutates documentdry runidempotent
doc.protection.clearEditingRestriction(…)

Expected result

Returns a ProtectionMutationResult with the updated protection state on success.

Inputs

This operation takes no input fields.

Result

Output fields

No fields.

Failures

Pre-apply throws

  • INVALID_INPUT
  • 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