AI-generated Key Takeaways
-
Updates an existing account link's target, specifically the
accountLinkTarget
field. -
Requires specifying the account link's resource name in the URL path.
-
Uses a
PATCH
request with anupdateMask
query parameter indicating the field to update. -
The request body should contain the updated
AccountLink
object with the newaccountLinkTarget
value. -
Requires the
https://www.googleapis.com/auth/travelpartner
OAuth scope for authorization.
Updates the account link target of an account link.
HTTP request
PATCH https://travelpartner.googleapis.com/v3/{accountLink.name=accounts/*/accountLinks/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
accountLink.name |
The resource name for the account link in the format |
Query parameters
Parameters | |
---|---|
updateMask |
Required. The field to update. Only the Example request URL and request body:
The response body will only include the The information above is sufficient for forming the URL and request body. The sentence below is auto-generated, supplemental information about the This is a comma-separated list of fully qualified names of fields. Example: |
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:
https://www.googleapis.com/auth/travelpartner
For more information, see the OAuth 2.0 Overview.