Skip to main content

Delete workflow run logs

Deletes all logs for a workflow run. 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.

DELETE/repos/{owner}/{repo}/actions/runs/{run_id}/logs
Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Request

Path Parameters
owner string
required
repo string
required
run_id integer
required

The id of the workflow run.

Responses

Response

application/json Basic Error object

Forbidden

documentation_url string
optional
message string
optional
status string
optional
url string
optional
application/json Basic Error object

Internal Error

documentation_url string
optional
message string
optional
status string
optional
url string
optional