When creating a subaccount, the current authenticated user must have the billing.accounts.update IAM permission on the parent account, which is typically given to billing account administrators. This method will return an error if the parent account has not been provisioned for subaccounts.
HTTP request
POST https://cloudbilling.googleapis.com/v1/{parent=billingAccounts/*}/subAccounts
Optional. The parent to create a billing account from. Format: - billingAccounts/{billing_account_id}, for example, billingAccounts/012345-567890-ABCDEF
Request body
The request body contains an instance of BillingAccount.
Response body
If successful, the response body contains a newly created instance of BillingAccount.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-14 UTC."],[[["\u003cp\u003eThis method facilitates the creation of billing subaccounts within Google Cloud.\u003c/p\u003e\n"],["\u003cp\u003eResellers should utilize the Channel Services APIs instead of this method for creating subaccounts.\u003c/p\u003e\n"],["\u003cp\u003eThe authenticated user needs the \u003ccode\u003ebilling.accounts.update\u003c/code\u003e IAM permission on the parent account to create a subaccount.\u003c/p\u003e\n"],["\u003cp\u003eThe request is sent as an HTTP POST to a specific URL, including a \u003ccode\u003eparent\u003c/code\u003e parameter for identifying the parent billing account.\u003c/p\u003e\n"],["\u003cp\u003eBoth the request and successful response bodies contain instances of the \u003ccode\u003eBillingAccount\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,[]]