# PATCH /pins/:pin_id

**Resource:** [PINS](./pins.md)  
**MCP tool:** `move_pin`  
**Scopes:** `pins:write`  
**Write operation:** yes

Move a pin to a new place among its group (the workspace's pins for everyone, or the person's own). 0 is the front; the others keep their order around it. Pins for everyone are moved by workspace owners and admins only.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `pin_id` | path | string | yes | The pin id, from list_pins. Example: "5b0c7d2e-1f3a-4c55-9a1e-2d8f6b7a9c10". |
| `position` | body | number | yes | The new place among its group (everyone pins or your own), 0 first. Example: 0 moves it to the front. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/pins/:pin_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"position":"...","require_approval":"..."}'
```

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