---
title: "Change a branch cluster configuration"
method: PATCH
path: "/organizations/{organization}/databases/{database}/branches/{branch}/cluster"
tags: ["Database branches"]
---

# Change a branch cluster configuration

`PATCH /organizations/{organization}/databases/{database}/branches/{branch}/cluster`

### Authorization
A service token   must have at least one of the following access   in order to use this API endpoint:

**Service Token Accesses**
 `write_database`

## Path parameters

- `organization` string, required
- `database` string, required
- `branch` string, required

## Request body

- object
  - `cluster_size` string, required — The new size of the database cluster: PS_10, PS_20,…

## Response `204`

Returns an empty response body

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/planetscale/apis/planetscale-api.md) · [All operations](https://skmtc.dev/planetscale/apis/planetscale-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/planetscale/planetscale-api/revisions/6d28c038c4fd/schema)
