Method: accounts.get

  • Retrieves a single CSS/MC account using its ID via a GET request.

  • Requires the name path parameter to specify the account and optionally the parent query parameter for MC account retrieval.

  • An empty request body is necessary, and a successful response returns an Account object containing the account information.

  • Utilizes gRPC Transcoding for the URL structure and needs the https://www.googleapis.com/auth/content OAuth scope for authorization.

Retrieves a single CSS/MC account by ID.

HTTP request

GET https://css.googleapis.com/v1/{name=accounts/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the managed CSS/MC account. Format: accounts/{account}

Query parameters

Parameters
parent

string

Optional. Only required when retrieving MC account information. The CSS domain that is the parent resource of the MC account. Format: accounts/{account}

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.