curl --request DELETE \
--url https://api.example.com/api/projects/{projectId}/branches/{branchId} \
--header 'Authorization: Bearer <token>'Deletes a branch from the project.
curl --request DELETE \
--url https://api.example.com/api/projects/{projectId}/branches/{branchId} \
--header 'Authorization: Bearer <token>'Documentation Index
Fetch the complete documentation index at: https://docs.gorules.io/llms.txt
Use this file to discover all available pages before exploring further.
Personal access token is obtained through your profile
Project ID
Branch ID or "main" for the default branch
Branch successfully deleted
Was this page helpful?