Method: version_headers.list

Full name: accounts.containers.version_headers.list

Lists all Container Versions of a GTM Container.

HTTP request

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

Path parameters

Parameters
parent

string

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

Query parameters

Parameters
includeDeleted

boolean

Also retrieve deleted (archived) versions when true.

pageToken

string

Continuation token for fetching the next page of results.

Request body

The request body must be empty.

Response body

List container versions response.

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

JSON representation
{
  "containerVersionHeader": [
    {
      object (ContainerVersionHeader)
    }
  ],
  "nextPageToken": string
}
Fields
containerVersionHeader[]

object (ContainerVersionHeader)

All container version headers of a GTM Container.

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.edit.containerversions
  • https://www.googleapis.com/auth/tagmanager.readonly

For more information, see the OAuth 2.0 Overview.