cURL
curl --request DELETE \ --url https://api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{name} \ --header 'Authorization: <api-key>'
The name of the organization the branch belongs to
The name of the database the branch belongs to
The name of the branch