Method: organizations.billingAccounts.move

Changes which parent organization a billing account belongs to.

HTTP request

GET https://cloudbilling.googleapis.com/v1/{destinationParent=organizations/*}/{name=billingAccounts/*}:move

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
destinationParent

string

Required. The resource name of the Organization to move the billing account under. Must be of the form organizations/{organization_id}.

name

string

Required. The resource name of the billing account to move. Must be of the form billingAccounts/{billing_account_id}. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-billing

For more information, see the Authentication Overview.