# PATCH /pipelines/:pipeline_id/stages/:stage_id

**Resource:** [Pipelines](./pipelines.md)  
**MCP tool:** `update_pipeline_stage`  
**Scopes:** `pipelines:write`  
**Write operation:** yes

Update a single stage within a pipeline. Pass only the fields you want to change.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `pipeline_id` | path | string | yes |  |
| `stage_id` | path | string | yes |  |
| `name` | body | string | no |  |
| `position` | body | number | no |  |
| `color` | body | string | no |  |
| `is_won_stage` | body | boolean | no |  |
| `is_lost_stage` | body | boolean | no |  |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/pipelines/:pipeline_id/stages/:stage_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"name":"...","position":"...","color":"..."}'
```

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