Terminating a Process instance from its App
DELETE /v3/apps/:guid/processes/:type/instances/:index
Request
Route
DELETE /v3/apps/guid-77f962d4-4dc6-4887-a2c0-fa1f1904e919/processes/web/instances/0
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
App guid
|
|
|
|
type
|
The type of instance
|
|
|
|
index
|
The index of the instance to terminate
|
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v3/apps/guid-77f962d4-4dc6-4887-a2c0-fa1f1904e919/processes/web/instances/0" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNyIsImVtYWlsIjoiZW1haWwtMTYyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5ODF9.Z9jk5VB2bE4b_7Qe0i2RR1BPJF4o9k7rNpd3ZsP5KRo" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers