Skip to main content

Summary

Disable document-level editing restriction by setting enforcement to off. Preserves the protection element and its metadata for round-trip fidelity.
  • Operation ID: protection.clearEditingRestriction
  • API member path: editor.doc.protection.clearEditingRestriction(...)
  • Mutates document: yes
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a ProtectionMutationResult with the updated protection state on success.

Input fields

No fields.

Example request

{}

Output fields

No fields.

Example response

{}

Pre-apply throws

  • INVALID_INPUT
  • CAPABILITY_UNAVAILABLE

Non-applied failure codes

  • NO_OP

Raw schemas

{
  "additionalProperties": false,
  "properties": {},
  "type": "object"
}
{
  "type": "object"
}
{
  "type": "object"
}
{
  "type": "object"
}