Home
Version 3
Processes (Experimental) API

Processes (Experimental) API

Terminating a Process instance

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

Request

Route

DELETE /v3/processes/d2b4d471-ccf9-4f2a-9e68-51052e9e886d/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.eyJ1c2VyX2lkIjoidWFhLWlkLTE1MyIsImVtYWlsIjoiZW1haWwtODZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTM2MjMwMX0.DqFLXz5KM6MPjB8Tf055Jlv9Cc4kk-S6E-BV2X-K_YI
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/processes/d2b4d471-ccf9-4f2a-9e68-51052e9e886d/instances/0" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1MyIsImVtYWlsIjoiZW1haWwtODZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTM2MjMwMX0.DqFLXz5KM6MPjB8Tf055Jlv9Cc4kk-S6E-BV2X-K_YI" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: ed56de2f-639e-4c03-8753-99b395c4b8cf
X-Content-Type-Options: nosniff