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/1d5cea03-a0e1-4810-90fa-8439cb9386d5/instances/0

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg3IiwiZW1haWwiOiJlbWFpbC04NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA5fQ.u-0opRdQMc7pNq6SvQD9kMwseJL4W7PAFizVA9FJVok
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/1d5cea03-a0e1-4810-90fa-8439cb9386d5/instances/0" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg3IiwiZW1haWwiOiJlbWFpbC04NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA5fQ.u-0opRdQMc7pNq6SvQD9kMwseJL4W7PAFizVA9FJVok" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 8c1141eb-274f-4847-aa79-2aea68600a78
X-Content-Type-Options: nosniff