- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists all the accounts under the specified CSS account ID, and optionally filters by label ID and account name.
HTTP request
GET https://css.googleapis.com/v1/{parent=accounts/*}:listChildAccounts
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent account. Must be a CSS group or domain. Format: accounts/{account} |
Query parameters
Parameters | |
---|---|
page |
Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 50 accounts will be returned. The maximum value is 100; values above 100 will be coerced to 100. |
page |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
label |
If set, only the MC accounts with the given label ID will be returned. |
full |
If set, only the MC accounts with the given name (case sensitive) will be returned. |
Request body
The request body must be empty.
Response body
Response message for the accounts.listChildAccounts
method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"accounts": [
{
object ( |
Fields | |
---|---|
accounts[] |
The CSS/MC accounts returned for the specified CSS parent account. |
next |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.