Administrators and project owners can unshare any project with any user. If you lack the required permissions to unshare a project, contact your organization administrator.
The unique identifier for the project.
The permissions role being revoked. Can be one of
A username with which the project will be revoked. Typically an email address.
A team with which the project will be revoked.
PROJECT_ID = 'example_project' client.unshare_project( project_name=PROJECT_ID, role='READ', user_name='[email protected]' )