Method: containers.list

Full name: accounts.containers.list

Lists all Containers that belongs to a GTM Account.

HTTP request

GET https://tagmanager.googleapis.com/tagmanager/v2/{parent}/containers

Path parameters

Parameters
parent

string

GTM Account's API relative path. It takes the form accounts/{account}.

Query parameters

Parameters
pageToken

string

Continuation token for fetching the next page of results.

Request body

The request body must be empty.

Response body

List Containers Response.

If successful, the response body contains data with the following structure:

JSON representation
{
  "container": [
    {
      object (Container)
    }
  ],
  "nextPageToken": string
}
Fields
container[]

object (Container)

All Containers of a GTM Account.

nextPageToken

string

Continuation token for fetching the next page of results.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/tagmanager.edit.containers
  • https://www.googleapis.com/auth/tagmanager.readonly

For more information, see the OAuth 2.0 Overview.