HomeGuidesAPI ReferenceChangelog
Log In
API Reference

Discard a draft, or a release nothing is using

Discard the pipeline branch. A draft goes on demand. A release goes only when nothing points at it — a deployment that is deploying, deployed or paused on it, or a trigger running from it, is refused with 409 naming what holds it.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Branch ref (e.g. feature// or release/)

string
required

The UUID of the pipeline

Responses
204

Branch discarded

409

The release is still in use

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!