Method: accounts.accountLinks.delete

  • The DELETE request at https://travelpartner.googleapis.com/v3/{name=accounts/*/accountLinks/*} is used to delete an account link.

  • The name path parameter, formatted as accounts/{account_id}/accountLinks/{account_link_id}, is a required string specifying the resource name of the account link to be deleted.

  • The request body must be empty when performing this operation.

  • A successful response will have an empty JSON object as the response body.

  • Authorization requires the https://www.googleapis.com/auth/travelpartner OAuth scope.

Deletes an account link.

HTTP request

DELETE https://travelpartner.googleapis.com/v3/{name=accounts/*/accountLinks/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the account link being deleted. The format is accounts/{account_id}/accountLinks/{account_link_id}.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.