- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Returns a list of user groups in the specified GMP organization.
HTTP request
GET https://marketingplatformadmin.googleapis.com/v1alpha/{parent=organizations/*}/userGroups
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent org where this UserGroup will be listed. Format: organizations/{org_id} |
Query parameters
| Parameters | |
|---|---|
pageSize |
Optional. The maximum number of user groups to return in one call. The service may return fewer than this value. If unspecified, at most 50 user groups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
pageToken |
Optional. A page token, received from a previous userGroups.list call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
Response message for userGroups.list RPC.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"userGroups": [
{
object ( |
| Fields | |
|---|---|
userGroups[] |
User groups in the organization. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/marketingplatformadmin.analytics.readhttps://www.googleapis.com/auth/marketingplatformadmin.analytics.update