> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superdoc.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Protection operations

> Protection operation reference from the canonical Document API contract.

[Back to full reference](../index)

Document-level protection state and editing restriction operations.

| Operation                                                                                                                                                                                                             | Member path                          | Mutates | Idempotency  | Tracked | Dry run |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | ------- | ------------ | ------- | ------- |
| <span style={{ whiteSpace: 'nowrap', wordBreak: 'normal', overflowWrap: 'normal' }}><a href="/document-api/reference/protection/get"><code>protection.get</code></a></span>                                           | `protection.get`                     | No      | `idempotent` | No      | No      |
| <span style={{ whiteSpace: 'nowrap', wordBreak: 'normal', overflowWrap: 'normal' }}><a href="/document-api/reference/protection/set-editing-restriction"><code>protection.setEditingRestriction</code></a></span>     | `protection.setEditingRestriction`   | Yes     | `idempotent` | No      | Yes     |
| <span style={{ whiteSpace: 'nowrap', wordBreak: 'normal', overflowWrap: 'normal' }}><a href="/document-api/reference/protection/clear-editing-restriction"><code>protection.clearEditingRestriction</code></a></span> | `protection.clearEditingRestriction` | Yes     | `idempotent` | No      | Yes     |
