v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,21696712.2 MB
actions

Set repositories allowed to use self-hosted runners in an organization

Sets repositories that are allowed to use self-hosted runners in an organization.

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the "Actions policies" fine-grained permission to use this endpoint.

put/orgs/{org}/actions/permissions/self-hosted-runners/repositories

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Request body

selected_repository_idsinteger[] required

IDs of repositories that can use repository-level self-hosted runners

Response

No content