Using Console
Using CLI
Using Python
google-cloud-functions
library to authenticate using the default credentials and update the IAM policy for the specified Cloud Function. It removes the “roles/cloudfunctions.admin” role from all members and updates the policy accordingly.