Skip to main content

Remove a self-hosted runner from a group for an enterprise

Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group. You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.

DELETE/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/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_group_id integer
required

Unique identifier of the self-hosted runner group.

runner_id integer
required

Unique identifier of the self-hosted runner.

Responses

Response