# PATCH /apps/:app_id

**Resource:** [Apps](./apps.md)  
**MCP tool:** `update_app`  
**Scopes:** `apps:write`  
**Write operation:** yes

Change an app's name, description, icon, theme colour or audience, or give it a new manifest. A new manifest only changes the draft: it goes live through publish_app. An archived app cannot be changed. Workspace admins; the maker of a personal app can change its name, description, icon and theme colour.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `app_id` | path | string | yes | The app's id. |
| `name` | body | string | no | New name (80 characters at most). |
| `description` | body | string | no | New description (600 characters at most). Send "" to clear it. |
| `icon` | body | string | no | New icon name. Send "" to clear it. |
| `accent` | body | string | no | The app's theme colour on the team side, as a hex colour such as "#15803d". Clients in the Client Portal always see the workspace's brand colour. Send "" to go back to its starter's colour. |
| `audience` | body | string | no | "team", "portal" or "both". |
| `manifest` | body | object | no | A new manifest. It replaces the draft version's manifest (or starts a new draft version when the app has none). It goes live only through publish_app. |
| `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/apps/:app_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"name":"...","description":"...","icon":"..."}'
```

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