Fetch Google Group members

I’m trying to fetch all the members of a Google Group using the discovery API.
So I used the code given in the doc but I get the following error:

'Error(2033): Group resource name has the correct format of `groups/{group_id}`, but it contains an invalid `{groupd_id}`

I used as group_id the email of the Google Group or the plain text name but the error persists.
What is the correct syntax for that group id?


group_id = '[email protected]_organization.com'
request = service.groups().memberships().searchTransitiveMemberships(parent=f'groups/{group_id}')

Source: Python Questions