Runs
Cancel function run
Cancels an in-progress function run
post/runs/{runId}/cancel
Request
- Base URL: https://api.inngest.com/v2
- URL: https://api.inngest.com/v2/runs/{runId}/cancel
- Auth: API key in header Authorization
Path parameters
runIdstring required
Request body
V2 Cancel Run Body required
Response
A successful response.
Example response
{
"data": {
"runId": "01hp1zx8m3ng9vp6qn0xk7j4cy"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.