Cancel a workflow run

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.

POST /repos/:owner/:repo/actions/runs/:run_id/cancel

Response

Status: 202 Accepted