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 DELETE 'https://api.github.com/enterprises//actions/permissions/organizations/'
{}