Delete

  • DELETE
  • /workspaces
  • /:domain
  • /projects
  • /:project_name
  • /repository
  • /branches
  • /:name

Removes the branch.

Request

REQUIRED SCOPES
WORKSPACE, REPOSITORY_WRITE
URL PARAMETERS
domainrequired string
The workspace domain.
namerequired string
The name of the branch.
project_namerequired string
The name ID of the project.
GET PARAMETERS
forceboolean
Required when the branch is not merged.

Last modified on Oct 3, 2024

Example:

CURL
curl -X DELETE "https://api.buddy.works/workspaces/:domain/projects/:project_name/repository/branches/:name" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json" \
STATUS
204 NoContent
LIMITS
X-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999