enabled_organizations
must be configured to selected
. For more information, see "Set GitHub Actions permissions for an enterprise."admin:enterprise
scope to use this endpoint.curl --location --request PUT 'https://api.github.com/enterprises//actions/permissions/organizations' \
--header 'Content-Type: application/json' \
--data-raw '{
"selected_organization_ids": [
32,
91
]
}'
{}