- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists UserLists.
Authorization Headers:
This method supports the following optional headers to define how the API authorizes access for the request:
login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format:accountTypes/{loginAccountType}/accounts/{loginAccountId}linked-account: (Optional) The resource name of the account with an established product link to thelogin-account. Format:accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
HTTP request
GET https://datamanager.googleapis.com/v1/{parent=accountTypes/*/accounts/*}/userLists
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent account which owns this collection of user lists. Format: accountTypes/{accountType}/accounts/{account} |
Query parameters
| Parameters | |
|---|---|
pageSize |
Optional. The maximum number of user lists to return. The service may return fewer than this value. If unspecified, at most 50 user lists 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 When paginating, all other parameters provided to |
filter |
Optional. A filter string. All fields need to be on the left hand side of each condition (for example: Supported operations:
Supported fields:
|
Request body
The request body must be empty.
Response body
Response message for userLists.list.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"userLists": [
{
object ( |
| Fields | |
|---|---|
userLists[] |
The user lists from the specified account. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/datamanager