Skip to content

Delete a completed workflow run.

DELETE
/repos/{owner}/{repo}/actions/runs/{run_id}

Remove a particular workflow run. The workflow run must have completed (succeeded, failed, cancelled) for the operation to succeed. Otherwise, an error is returned.

owner
required
string

Owner of the repo

repo
required
string

Name of the repo

run_id
required
integer format: int64

Id of the action run

Workflow run has been removed

Media type application/json

APIError is error format response

Media type application/json

APIError is an api error with a message

object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}

APIForbiddenError is a forbidden error response

Media type application/json
object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}