Method: accounts.accountLinks.patch

Updates the account link target of an account link.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



The resource name for the account link in the format accounts/{account_id}/accountLinks/{account_link_id}.

Query parameters


string (FieldMask format)

Required. The field to update. Only the accountLinkTarget field can be updated. Use the syntax shown in the example URL below and provide the new value in the request body.

Example request URL and request body:

   "accountLinkTarget": {
     "hotelList": {
       "partnerHotelIds": ["1234", "4321"]

The response body will only include the name field of an AccountLink.

The information above is sufficient for forming the URL and request body. The sentence below is auto-generated, supplemental information about the FieldMask format in general.

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

Request body

The request body contains an instance of AccountLink.

Response body

If successful, the response body contains an instance of AccountLink.

Authorization scopes

Requires the following OAuth scope:


For more information, see the OAuth 2.0 Overview.