Delete a Build

Creates a task that deletes a build and all of it's images.

Requires the stacks-builds-manage permission.

Returns

Returns a Task Descriptor Object, otherwise returns an Error.

DELETE /v1/stacks/5b9c2a77b6393d0001eb45fd/builds/5a232a77b6393d0001ac2df2

Example Request
$ curl https://api.cycle.io/v1/stacks/5a98710df231a500017f9aa4/builds/5d02f7e9b89494000108422a \
-H
"Authorization: Bearer API_KEY"
\
-H
"X-Hub-Id: HUB_ID"
\
-X DELETE
Example Response
{
"data": {
"action": "delete",
"job_id": "5d01b9b3db2ab00001508cd8"
}
}