enterprise-admin
Update a self-hosted runner group for an enterprise
Updates the name and visibility of a self-hosted runner group in an enterprise.
You must authenticate using an access token with the manage_runners:enterprise scope to use this endpoint.
patch/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}
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
Example request
{
"selected_workflows": [
"octo-org/octo-repo/.github/workflows/deploy.yaml@main"
]
}Response
Response
Example response
{
"selected_workflows": [
"octo-org/octo-repo/.github/workflows/deploy.yaml@main"
]
}