- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Creates a UserList.
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
POST https://datamanager.googleapis.com/v1/{parent=accountTypes/*/accounts/*}/userLists
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent account where this user list will be created. Format: accountTypes/{accountType}/accounts/{account} |
Query parameters
| Parameters | |
|---|---|
validateOnly |
Optional. If true, the request is validated but not executed. |
Request body
The request body contains an instance of UserList.
Response body
If successful, the response body contains a newly created instance of UserList.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/datamanager