# PATCH /automations/folders/:folder_id

**Resource:** [Automations](./automations.md)  
**MCP tool:** `update_automation_folder`  
**Scopes:** `automations:write`  
**Write operation:** yes

Rename an automation folder. To move automations into it, set their folder field via update_automation.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `folder_id` | path | string | yes |  |
| `name` | body | string | no |  |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/automations/folders/:folder_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"name":"..."}'
```

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