> ## 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.

# permissionRanges.remove

> Remove a permission range by ID. Removes whichever markers exist for the given ID (start, end, or both).

## Summary

Remove a permission range by ID. Removes whichever markers exist for the given ID (start, end, or both).

* Operation ID: `permissionRanges.remove`
* API member path: `editor.doc.permissionRanges.remove(...)`
* Mutates document: `yes`
* Idempotency: `idempotent`
* Supports tracked mode: `no`
* Supports dry run: `yes`
* Deterministic target resolution: `yes`

## Expected result

Returns a PermissionRangeRemoveResult indicating success or a failure.

## Input fields

| Field | Type   | Required | Description |
| ----- | ------ | -------- | ----------- |
| `id`  | string | yes      |             |

### Example request

```json theme={null}
{
  "id": "id-001"
}
```

## Output fields

*No fields.*

### Example response

```json theme={null}
{}
```

## Pre-apply throws

* `TARGET_NOT_FOUND`
* `INVALID_TARGET`
* `INVALID_INPUT`
* `CAPABILITY_UNAVAILABLE`

## Non-applied failure codes

* None

## Raw schemas

<Accordion title="Raw input schema">
  ```json theme={null}
  {
    "additionalProperties": false,
    "properties": {
      "id": {
        "type": "string"
      }
    },
    "required": [
      "id"
    ],
    "type": "object"
  }
  ```
</Accordion>

<Accordion title="Raw output schema">
  ```json theme={null}
  {
    "type": "object"
  }
  ```
</Accordion>

<Accordion title="Raw success schema">
  ```json theme={null}
  {
    "type": "object"
  }
  ```
</Accordion>

<Accordion title="Raw failure schema">
  ```json theme={null}
  {
    "type": "object"
  }
  ```
</Accordion>
