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/838fdf8d-d69c-4e4a-9ac7-fef564580bf2/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.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNCIsImVtYWlsIjoiZW1haWwtMjI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MjJ9.FnJr8AeHGjX0a8xCATkbnDVxEvrJm7jzI_E2laQVCsM
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/838fdf8d-d69c-4e4a-9ac7-fef564580bf2/instances/0" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNCIsImVtYWlsIjoiZW1haWwtMjI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MjJ9.FnJr8AeHGjX0a8xCATkbnDVxEvrJm7jzI_E2laQVCsM" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 815e5da8-8bd2-4d9b-bd73-d8405d0434c7
X-Content-Type-Options: nosniff