Home
Version 3
Packages (Experimental) API

Packages (Experimental) API

Delete a Package

DELETE /v3/packages/:guid

Fields

Name Description Default Valid Values Example Values

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0OCIsImVtYWlsIjoiZW1haWwtMTgwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE2OTl9.WOk7j10O1rNTuJ-fi_Yw60rxgH_ZmuRFm7POcFEBulc
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v3/packages/guid-9a645ed0-befd-43ce-9143-881845c192b9

cURL

curl "https://api.[your-domain.com]/v3/packages/guid-9a645ed0-befd-43ce-9143-881845c192b9" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0OCIsImVtYWlsIjoiZW1haWwtMTgwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE2OTl9.WOk7j10O1rNTuJ-fi_Yw60rxgH_ZmuRFm7POcFEBulc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

X-VCAP-Request-ID: 5e44eb1c-7f03-4306-a5eb-d1834777ff4f
X-Content-Type-Options: nosniff

Status

204 No Content