Remove a self-hosted runner from a group for an organization
DELETE
/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}
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.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
The organization name. The name is not case sensitive.
runner_group_id
required
integer
Unique identifier of the self-hosted runner group.
runner_id
required
integer
Unique identifier of the self-hosted runner.
Responses
Section titled “Responses”Response