Skip to main content
DELETE
/
api
/
projects
/
{projectId}
/
branches
/
{branchId}
Remove branch
curl --request DELETE \
  --url https://api.example.com/api/projects/{projectId}/branches/{branchId} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Personal access token is obtained through your profile

Path Parameters

projectId
string<uuid>
required

Project ID

branchId
required

Branch ID or "main" for the default branch

Response

202

Branch successfully deleted