admin:enterprise
scope to use this endpoint.curl --location --request PUT 'https://api.github.com/enterprises//actions/permissions' \
--header 'Content-Type: application/json' \
--data-raw '{
"allowed_actions": "selected",
"enabled_organizations": "all"
}'
{}
all
, none
, or selected
.