v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
enterprise-admin

Add organization access to a self-hosted runner group in an enterprise

Adds an organization to the list of selected organizations 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 enterprise."

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

put/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}

Path parameters

enterprisestring required

The slug version of the enterprise name.

runner_group_idinteger required

Unique identifier of the self-hosted runner group.

org_idinteger required

The unique identifier of the organization.

Response

Response