Home
Version 3
Buildpacks API

Buildpacks API

Delete a Particular Buildpack

DELETE /v2/buildpacks/:guid

Fields

Name Description Default Valid Values Example Values

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'.

Request

Headers

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

Route

DELETE /v2/buildpacks/75af55a1-83ad-4cad-9a7e-ee254c6e9382

cURL

curl "https://api.[your-domain.com]/v2/buildpacks/75af55a1-83ad-4cad-9a7e-ee254c6e9382" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NyIsImVtYWlsIjoiZW1haWwtMTA5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNjd9.lPEUTbRxmnjj3VGZ2wORjf7KqZ0e6UYeOzYTloU0zgg" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

X-VCAP-Request-ID: 695833e5-3435-447f-a0b7-01d7338b3095
X-Content-Type-Options: nosniff

Status

204 No Content