Home
Version 3
Apps API

Apps API

Terminate the running App Instance at the given index

DELETE /v2/apps/:guid/instances/:index

Request

Route

DELETE /v2/apps/f7574172-055d-4bc2-ae3d-ac1699296c48/instances/0

Parameters

Name Description Valid Values Example Values
guid The guid of the App
index The index of the App Instance to terminate

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNSIsImVtYWlsIjoiZW1haWwtMjIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTR9.2ceuS635cK80e0AwZKmQwX6BvsV-8w_ynsiuAmQU-TM
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/f7574172-055d-4bc2-ae3d-ac1699296c48/instances/0" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNSIsImVtYWlsIjoiZW1haWwtMjIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTR9.2ceuS635cK80e0AwZKmQwX6BvsV-8w_ynsiuAmQU-TM" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 98faa869-5c61-4a81-92f8-63147473b25a
X-Content-Type-Options: nosniff