Method: accountTypes.accounts.partnerLinks.create

Creates a partner link for the given account.

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

POST https://datamanager.googleapis.com/v1/{parent=accountTypes/*/accounts/*}/partnerLinks

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent, which owns this collection of partner links. Format: accountTypes/{accountType}/accounts/{account}

Request body

The request body contains an instance of PartnerLink.

Response body

If successful, the response body contains a newly created instance of PartnerLink.

Authorization scopes

Requires the following OAuth scope:

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