Remove repository access to a self-hosted runner group in an organization
DELETE
/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}
Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see “Create a self-hosted runner group for an organization.”
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.
repository_id
required
integer
The unique identifier of the repository.
Responses
Section titled “ Responses ”Response