# POST /approvals/:approval_id/edit

**Resource:** [Approvals](./approvals.md)  
**MCP tool:** `update_approval`  
**Scopes:** `approvals:edit`  
**Write operation:** yes

Rewrite the request_body of a pending approval. Lets agents iterate on AI-drafted content (e.g. fix an email body) without approving.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `approval_id` | path | string | yes |  |
| `request_body` | body | object | yes | New request body to replace the queued one |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/approvals/:approval_id/edit"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"request_body":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`