[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[],[],null,["# Method: environments.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListEnvironmentsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\n**Full name**: accounts.containers.environments.list\n\nLists all GTM Environments of a GTM Container.\n\n### HTTP request\n\n`GET https://tagmanager.googleapis.com/tagmanager/v2/{parent}/environments`\n\n### Path parameters\n\n| Parameters ||\n|----------|------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` GTM Container's API relative path. It takes the form `accounts/{account}/containers/{container}`. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------|\n| `pageToken` | `string` Continuation token for fetching the next page of results. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nList Environments Response.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"environment\": [ { object (/tag-platform/tag-manager/api/reference/rest/v2/accounts.containers.environments#Environment) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `environment[]` | `object (`[Environment](/tag-platform/tag-manager/api/reference/rest/v2/accounts.containers.environments#Environment)`)` All Environments of a GTM Container. |\n| `nextPageToken` | `string` Continuation token for fetching the next page of results. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/tagmanager.edit.containers`\n- `\n https://www.googleapis.com/auth/tagmanager.readonly`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]