Note: This developer site is moving to and will be redirected by September 30, 2021

Environments: list

Requires authorization

Lists all GTM Environments of a GTM Container. Try it now.


HTTP request



Parameter name Value Description
Path parameters
accountId string The GTM Account ID.
containerId string The GTM Container ID.


This request requires authorization with at least one of the following scopes (read more about authentication and authorization).


Request body

Do not supply a request body with this method.


If successful, this method returns a response body with the following structure:

  "environments": [
    accounts.containers.environments Resource
Property name Value Description Notes
environments[] list All Environments of a GTM Container.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.