# Rename a folder

`PUT https://app.clik.so/api/folders/{id}`

> **In short:** Gives a folder a new name. The links inside it stay where they are.

## You need

* **API key permission:** `write`
* **Workspace role:** editor or higher
* **Plan:** any plan, including Free

## Example

```bash
curl -X PUT "https://app.clik.so/api/folders/6b7c8d9e-0f1a-4b2c-8d3e-4f5a6b7c8d9e" \
  -H "Authorization: Bearer $CLIKSO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Autumn campaigns"
  }'
```

Response 200:

```json
{
  "status": 200,
  "success": true,
  "message": "Success",
  "data": {
    "id": "6b7c8d9e-0f1a-4b2c-8d3e-4f5a6b7c8d9e",
    "name": "Autumn campaigns",
    "created_at": "2026-10-01T08:00:00.000Z",
    "updated_at": "2026-10-09T09:30:00.000Z"
  }
}
```

## Parameters

| Name | In   | Type   | Required | Description      |
| ---- | ---- | ------ | -------- | ---------------- |
| `id` | path | string | yes      | The folder's id. |

## Request body

| Field  | Type   | Required | Description                                             |
| ------ | ------ | -------- | ------------------------------------------------------- |
| `name` | string | yes      | The folder's name, up to 20 characters. 1–20 characters |

## Common errors

| Status | Code               | When                                                                            |
| ------ | ------------------ | ------------------------------------------------------------------------------- |
| 401    | `UNAUTHORIZED`     | The API key is missing, malformed or unknown.                                   |
| 403    | `FORBIDDEN`        | The key only has Read permission, or its creator is a viewer in this workspace. |
| 404    | `NOT_FOUND`        | No folder with this id exists in the key's workspace.                           |
| 422    | `VALIDATION_ERROR` | `name` is missing, empty or longer than 20 characters.                          |
| 429    | `RATE_LIMITED`     | The key went over its per-minute request limit.                                 |

## Good to know

* `name` is required and can be up to 20 characters.
* This response has no `link_count`.

---

Source: https://clik.so/docs/api/folders/update-folder
