- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists the billing accounts that the current authenticated user has permission to view.
HTTP request
GET https://cloudbilling.googleapis.com/v1/{parent=organizations/*}/billingAccounts
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Optional. The parent resource to list billing accounts from. Format: - |
Query parameters
Parameters | |
---|---|
pageSize |
Requested page size. The maximum page size is 100; this is also the default. |
pageToken |
A token identifying a page of results to return. This should be a |
filter |
Options for how to filter the returned billing accounts. This only supports filtering for subaccounts under a single provided parent billing account. (for example, |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListBillingAccountsResponse
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-billing
https://www.googleapis.com/auth/cloud-billing.readonly
For more information, see the Authentication Overview.