# PATCH /spreadsheets/:id

**Resource:** [Spreadsheets](./spreadsheets.md)  
**Scopes:** `spreadsheets:write`  
**Write operation:** yes

Update a spreadsheet name, linked opportunity, or archived status.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `id` | path | uuid | yes | Spreadsheet ID |
| `name` | body | string | no | Spreadsheet name |
| `opportunity_id` | body | uuid | no | Link to a different opportunity, or null to unlink |
| `is_archived` | body | boolean | no | Archive or unarchive |

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