# Rename a platform set

Source: https://ampost.io/docs/api/platform-sets-update · Full reference: https://ampost.io/llms-full.txt

`PATCH /api/platform-sets/{platformSetId}` · MCP tool `platform_sets_update` · scope `accounts:write` · rate limit `createPost` · success `200`

Rename a platform set, including the default set, and return it. Only the name changes: accounts, posts and the queue stay. 404 PLATFORM_SET_NOT_FOUND for an unknown id; 403 PLATFORM_SET_NOT_ALLOWED for a set the key is restricted from.

| Field | In | Type | Required | Description |
|---|---|---|---|---|
| `platformSetId` | path | string | yes | Platform set id (UUID): `id` from platform_sets_list |
| `name` | body | string | yes | Set name, 1-50 characters |

Example request:

```json
{
  "name": "Client A"
}
```

Example response:

```json
{
  "id": "0b6e4d2a-9c3f-4e1b-8a7d-5f2c1e9b3d40",
  "name": "Client A",
  "isDefault": false,
  "accountCount": 2,
  "createdAt": "2026-10-06T09:00:00.000Z",
  "updatedAt": "2026-10-06T09:00:00.000Z"
}
```
