# Update project

```http
PATCH /projects/{project_reference}
```

Update a project. Requires project.settings.manage.

## Parameters

| Name                | In   | Required | Description |
| ------------------- | ---- | -------- | ----------- |
| `project_reference` | path | Yes      |             |

## Request body

| Field         | Type   | Required | Description                                                                                                                                                                                                                                     |
| ------------- | ------ | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `slug`        | string |          | Lowercase identifier starting with a letter; words may be separated by single hyphens. Omit to keep the current slug.                                                                                                                           |
| `name`        | string |          | Project name. Omit to keep the current name.                                                                                                                                                                                                    |
| `description` | string |          | Project description. An empty string clears it. Omit to keep the current description.                                                                                                                                                           |
| `config`      | object |          | Project configuration to update. Field names use snake\_case. If a legacy camelCase alias is also supplied, its value must match the snake\_case field. JSON-encoded strings are accepted for compatibility; new clients should send an object. |

## Responses

| Status | Description                      |
| ------ | -------------------------------- |
| 200    | Project updated successfully.    |
| 400    | Invalid input                    |
| 401    | Authentication required          |
| 403    | Requires project.settings.manage |
| 404    | Project not found                |
| 409    | Project slug already exists      |
| 500    | Server error                     |
