Delete a GitHub Actions workflow run including its logs and artifacts
domain: api.github.com · 3 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗
Documented steps
Send DELETE https://api.github.com/repos/{owner}/{repo}/actions/runs/{run_id} with `Authorization: Bearer <TOKEN>` and `Accept: application/vnd.github+json`.
Expect HTTP 204 No Content on success.
Verify removal by GET /repos/{owner}/{repo}/actions/runs/{run_id} (should return 404 afterward).
Known gotchas
Requires write access to the repository (`repo` scope).
Deletion is irreversible - it removes the run's logs and artifacts; there is no undo.
Deleting a run may invalidate any open checks or PR statuses that referenced it.
Give your agent this knowledge — and 16,700+ more routes
One MCP install gives any agent live access to the full route map across 5,800+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?