---
title: "Open an item beyond its folder"
description: "override: true lets an item in a restricted folder use its own access setting again (for example a public link); false puts it back under the folder."
canonical_url: https://docs.markdrop.in/api/access/open-an-item-beyond-its-folder
last_updated: 2026-11-20
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# Open an item beyond its folder

`PUT https://api.markdrop.in/api/v1/documents/{slug}/access/folder-override`

`override: true` lets an item in a restricted folder use its own access setting again (for example a public link); `false` puts it back under the folder. Its editors only; every change is logged.

- **Authentication:** API token required: `Authorization: Bearer mdk_…`.
- **Rate limit:** 30 per minute per IP address.
- **Guide:** [Folder access](https://docs.markdrop.in/workspaces/folder-access)

## Path parameters

- `slug` (string, required): The document's address: the part after `markdrop.in/`.

## Request body

`application/json`, required.

- `override` (boolean, required)
- `reason` (string): Up to 300 characters.

## Responses

- `200`: OK.
- `401`: No token, or the token is revoked or mistyped.
- `422`: The request didn't validate. `detail` lists each problem, with where it is (`loc`) and why (`msg`).
- `429`: Too many requests from your IP address. Wait the seconds in `Retry-After`.

## Examples

**curl**

```bash
curl -X PUT https://api.markdrop.in/api/v1/documents/k3x9q2m/access/folder-override \
  -H "Authorization: Bearer $MARKDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"override":true,"reason":"Press kit"}'
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/documents/k3x9q2m/access/folder-override", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "override": true,
    "reason": "Press kit"
  }),
});
const data = await res.json();
```

**Python**

```python
import os

import requests

r = requests.put(
    "https://api.markdrop.in/api/v1/documents/k3x9q2m/access/folder-override",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
    json={"override": True, "reason": "Press kit"},
)
r.raise_for_status()
print(r.json())
```
