Home
Version 3
Processes (Experimental) API

Processes (Experimental) API

Terminating a Process instance

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

Request

Route

DELETE /v3/processes/73b22d08-9b4f-4bc3-9499-8ddd35a13fab/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.eyJ1c2VyX2lkIjoidWFhLWlkLTMxMCIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NTl9.g1VK28UlSn8J_0Kb6v3uh27ZikR58DlbKTHnVeQJCEw
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/processes/73b22d08-9b4f-4bc3-9499-8ddd35a13fab/instances/0" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxMCIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NTl9.g1VK28UlSn8J_0Kb6v3uh27ZikR58DlbKTHnVeQJCEw" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 67717d83-962e-4f69-be85-81205ba28915
X-Content-Type-Options: nosniff