How to remove myself as an editor in a GCP project?

Solution 1:

In order to remove yourself as editor you need the next permission:

resourcemanager.projects.setIamPolicy

I test it in my Google Cloud.

I set the editor role to a colleague, but he is unable to remove the editor role until the resourcemanager.projects.setIamPolicy is added.

Check if you have the role, if you do not have the role is not possible remove by yourself