Sample - GitHub REST API
DELETE/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}

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

Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
orgstringrequired
The organization name. The name is not case sensitive.
runner_group_idintegerrequired
Unique identifier of the self-hosted runner group.
runner_idintegerrequired
Unique identifier of the self-hosted runner.

1 status code
204Response