Terminating a Process instance from its App
DELETE /v3/apps/:guid/processes/:type/instances/:index
Request
Route
DELETE /v3/apps/guid-19bf50b7-e933-47a4-8fc4-d8dd9b9a29f1/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-19bf50b7-e933-47a4-8fc4-d8dd9b9a29f1/processes/web/instances/0" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzMiIsImVtYWlsIjoiZW1haWwtMjM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzl9.wtIUEDD-vFCAi7_LYUkE-4Te9pCBKi1hwHqer3LLrcs" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers