Cancel a workflow run

POST {{baseUrl}}/repos/:owner/:repo/actions/runs/:run_id/cancel

Cancels a workflow run using its id. You must authenticate using an access token with the repo scope to use this endpoint. GitHub Apps must have the actions:write permission to use this endpoint.