Home
Version 3
Stacks API

Stacks API

Delete a Particular Stack

DELETE /v2/stacks/:guid?

Request

Route

DELETE /v2/stacks/57de0828-93d6-40bc-b9a5-4977d882e2b7?

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'.
  • true
  • false

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NSIsImVtYWlsIjoiZW1haWwtMjg3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NzB9.yYXMYLEb3UwBf_Ov33-_JNCLI28_ISSv6_3CJxv7vtU
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/stacks/57de0828-93d6-40bc-b9a5-4977d882e2b7?" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NSIsImVtYWlsIjoiZW1haWwtMjg3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NzB9.yYXMYLEb3UwBf_Ov33-_JNCLI28_ISSv6_3CJxv7vtU" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 7f423091-cc26-4e38-a3bf-58f49ec2d658
X-Content-Type-Options: nosniff