Delete the logs of a workflow run
One step with GitHub Actions. We can help you get access.
Get something done
Delete the logs of a workflow run
with GitHub Actions · Continuous Integration Management
Works with AI assistants
Use GitHub Actions: its GitHub Actions Workflow Runs API lets you delete the logs of a workflow run in a single step (DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs). GitHub Actions also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I wipe the logs of a run that accidentally printed a secret?
- Can I delete a run's logs but keep the run record?
Say it to your AI assistant
- Delete all logs for run {run_id} in {owner}/{repo}.
- Purge the log output of run {run_id}.
For your developer
DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs in GitHub Actions Workflow Runs API. Full spec on APIs.io.