Method: accountTypes.accounts.userLists.patch

Updates 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 the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}

HTTP request

PATCH https://datamanager.googleapis.com/v1/{userList.name=accountTypes/*/accounts/*/userLists/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
userList.name

string

Identifier. The resource name of the user list. Format: accountTypes/{accountType}/accounts/{account}/userLists/{userList}

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

validateOnly

boolean

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 an instance of UserList.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager