Method: environments.delete

Full name: accounts.containers.environments.delete

Deletes a GTM Environment.

HTTP request

DELETE https://tagmanager.googleapis.com/tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}

Path parameters

Parameters
accountId

string

The GTM Account ID.

containerId

string

The GTM Container ID.

environmentId

string

The GTM Environment ID.

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.