Delete a Stack

Creates a task that deletes a stack and all of it's builds.

Requires the stacks-manage permission.

Returns

Returns a Task Descriptor Object, otherwise returns an Error.

DELETE /v1/stacks/{ID}/tasks

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