Home
Version 3
Buildpacks API

Buildpacks API

Delete a Particular Buildpack

DELETE /v2/buildpacks/:guid?

Request

Route

DELETE /v2/buildpacks/2638ce66-ff21-4434-99cd-1cbb66bc15d5?

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.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNyIsImVtYWlsIjoiZW1haWwtMjk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NjF9.XL8sWlgfCy8MMrSjObFKxY5jCoDN0ndtcxyGfQEoB1E
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/2638ce66-ff21-4434-99cd-1cbb66bc15d5?" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNyIsImVtYWlsIjoiZW1haWwtMjk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NjF9.XL8sWlgfCy8MMrSjObFKxY5jCoDN0ndtcxyGfQEoB1E" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: f0d23e45-8c48-4d1e-a227-d2cab34f4a30
X-Content-Type-Options: nosniff