Home
Version 3
Stacks API

Stacks API

Delete a Particular Stack

DELETE /v2/stacks/:guid

Request

Route

DELETE /v2/stacks/54804ed9-dbfa-4386-b140-c8ec2f18289c

Parameters

Name Description Valid Values Example Values
guid The guid of the Stack
async Will run the delete request in a background job. Recommended: 'true'.

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1OCIsImVtYWlsIjoiZW1haWwtMTIwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5NjV9.UOQa2TQgAOj42qDZCPlatWdqQkTMiLSmFKQNz_Gvbd0
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/stacks/54804ed9-dbfa-4386-b140-c8ec2f18289c" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1OCIsImVtYWlsIjoiZW1haWwtMTIwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5NjV9.UOQa2TQgAOj42qDZCPlatWdqQkTMiLSmFKQNz_Gvbd0" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 985614f0-ec28-4bff-aec3-a379435a1683
X-Content-Type-Options: nosniff