Branch

Remove Branch

Used to remove a branch

delete/branch/{id}

Request

  • Base URL: https://api.mabl.com
  • URL: https://api.mabl.com/branch/{id}
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Path parameters

idstring required

The ID of the branch to remove

Response

The branch that was removed

idstring

Unique ID for this branch

branch_type'feature' | 'snapshot'

The type of branch

namestring

The name of the branch. Must be unique within workspace.

status'merged' | 'open' | 'snapshot'

The current status of the branch

application_idstring

The ID of the application associated with this branch

environment_idstring

Optional id of environment this branch is associated with, if any

branched_fromstring

The branch this branch was created from

workspace_idstring

Workspace this branch exists in

created_timeinteger

Time at which the deployment was created

created_by_idstring

The ID of the user who created this deployment

Changes

No recorded changes to this operation across all 37 revisions of this API.