# Trash A Page

`DELETE /pages/{pageId}/trash`

Moves an accessible page to Trash. Trashed pages are excluded from normal page lists and can be restored or permanently deleted.
## Authentication

Use one of the following authentication alternatives:

- **API token** (`bearerToken`) : Send a named API token in the Authorization header. Send it in the `Authorization: Bearer <token>` header.
- **Better Auth browser session** (`browserSession`) : Use the Better Auth session cookie from a signed-in browser session. Send it in the `better-auth.session_token` cookie.
## Token permissions

API tokens must include `pages:write`.
## Parameters

- `pageId` (path, required): The UUID of the page.
## Responses

### 200

Confirmation that the page was moved to Trash.


### `application/json`

```json
{
  "deleted": false
}
```

### 403

The API token is missing a required scope: pages:write.


### `application/json`

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```
