Home
Version 3
Apps API

Apps API

Terminate the running App Instance at the given index

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

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

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

Route

DELETE /v2/apps/2f154422-2d89-4e39-a590-9e0882782925/instances/0

cURL

curl "https://api.[your-domain.com]/v2/apps/2f154422-2d89-4e39-a590-9e0882782925/instances/0" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MiIsImVtYWlsIjoiZW1haWwtMjIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODF9.wYtwxLXknMwY7kGKB_ozDpKlRTYT2TtObozP0seKBDw" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

X-VCAP-Request-ID: cb49407f-ac64-431c-bb03-1796198cd4a5
X-Content-Type-Options: nosniff

Status

204 No Content