PATCH
/
organizations
/
{organization}
/
databases
/
{database}
/
branches
/
{name}
/
cluster
Change a branch cluster configuration
curl --request PATCH \
  --url https://api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{name}/cluster \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cluster_size": "<string>"
}'

Authorizations

Authorization
string
header
required

Path Parameters

organization
string
required

The name of the organization the branch belongs to

database
string
required

The name of the database the branch belongs to

name
string
required

The name of the branch to configure

Body

application/json
cluster_size
string
required

The new size of the database cluster: PS_10, PS_20,…

Response

Returns an empty response body