Skip to main content

Delete a self-hosted runner from an enterprise

Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.

DELETE/enterprises/{enterprise}/actions/runners/{runner_id}
Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Request

Path Parameters
enterprise string
required

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

runner_id integer
required

Unique identifier of the self-hosted runner.

Responses

Response