enabled_repositories must be configured to selected. For more information, see "Set GitHub Actions permissions for an organization."admin:org scope to use this endpoint.curl --location --request DELETE 'https://service1.exmaple.com/orgs//actions/permissions/repositories/'