Home
Version 3
Processes (Experimental) API

Processes (Experimental) API

Terminating a Process instance

DELETE /v3/processes/:guid/instances/:index

Request

Route

DELETE /v3/processes/926ad5ae-d0cd-4372-b675-ebc115f43613/instances/0

Body

Name Description Default Valid Values Example Values
guid Process guid
index The index of the instance to terminate

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwMiIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzV9.3PcmTQtuoSm-4G1AwZRgZxBJbt1vbBAcrwGDwfyZYm4
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/processes/926ad5ae-d0cd-4372-b675-ebc115f43613/instances/0" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwMiIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzV9.3PcmTQtuoSm-4G1AwZRgZxBJbt1vbBAcrwGDwfyZYm4" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 9c5e036a-38ed-470c-baff-252b54e6e0f6
X-Content-Type-Options: nosniff