v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2024-03-2585861610.1 MB
enterprise-admin

Set organization access for a self-hosted runner group in an enterprise

Replaces the list of organizations that have access to a self-hosted runner configured in 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

Path parameters

enterprisestring required

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

runner_group_idinteger required

Unique identifier of the self-hosted runner group.

Request body

selected_organization_idsinteger[] required

List of organization IDs that can access the runner group.

Response

Response