Buildpacks API

Delete a Particular Buildpack

DELETE /v2/buildpacks/:guid?

Request

Route

DELETE /v2/buildpacks/bac7f896-b963-418f-a5fb-b407291d6862?

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MyIsImVtYWlsIjoiZW1haWwtMTI4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTF9.PqWDIbcACO1bZJtvi4z1oLzH429YZb1RyLng1iDSKuI
Host: example.org
Content-Type: application/json
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/bac7f896-b963-418f-a5fb-b407291d6862?" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MyIsImVtYWlsIjoiZW1haWwtMTI4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTF9.PqWDIbcACO1bZJtvi4z1oLzH429YZb1RyLng1iDSKuI" \
	-H "Host: example.org" \
	-H "Content-Type: application/json" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: cf8dace7-bc65-4a4e-afb8-4f1154145209
X-Content-Type-Options: nosniff