Request command cancellation
DELETE
/v1/sessions/{id}/executions/{executionId}Requests cancellation. The response is not confirmation that the process has stopped; follow events or inspect state until terminal.
Authorization
bearerAuth AuthorizationBearer <token>
Use the owner-scoped product API key provided by the service operator.
In: header
Path Parameters
id*string
Session ID returned by open or list.
Format
uuidexecutionId*string
Execution ID returned when starting a command.
Format
uuidResponse Body
application/json
application/json
Request
curl -X DELETE "https://assemble-vms-api.fly.dev/v1/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08/executions/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Authorization: Bearer ${ASSEMBLE_API_KEY}"Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459", "state": "running", "exitCode": 0, "createdAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z"}