Cancel a run
Stops a queued or running run and gives its credits back.
POST/v1/runs/:id/cancel
Needs the runs:write scope.
Path
idstringRequired- The run’s id, as Start a run returns it (for example
run_8f3k2).
Response
It returns the run as Get a run does, now cancelled. A run that has already ended can’t be cancelled.