Google Tag Manager (Improved) icon

Google Tag Manager (Improved)

Use the Google Tag Manager API

Client → Delete Client

AI-generated

Overview

This node operation deletes a Google Tag Manager (GTM) Client within a specified GTM Container Workspace. It is useful for managing and cleaning up clients that are no longer needed in a GTM setup, helping maintain an organized and efficient tag management environment.

Use Case Examples

  1. Deleting a specific GTM Client by providing the Account ID, Container ID, Workspace ID, and Client ID to remove obsolete or unused clients from a workspace.
  2. Automating the cleanup of clients in GTM containers as part of a larger workflow for managing GTM configurations.

Properties

Name Meaning
Account ID The GTM Account ID where the client exists.
Container ID The GTM Container ID within the account where the client exists.
Workspace ID The GTM Workspace ID within the container where the client exists.
Client ID The specific GTM Client ID to be deleted.
Optional Query Parameters Additional optional parameters for the API request, such as flags or filters.

Output

JSON

  • clientId - The ID of the deleted GTM Client.
  • status - The status or confirmation of the deletion operation.

Dependencies

  • Google Tag Manager API OAuth2 credentials

Troubleshooting

  • Ensure all required IDs (Account ID, Container ID, Workspace ID, Client ID) are provided; missing any will cause errors.
  • Check that the OAuth2 credentials for Google Tag Manager API are correctly configured and valid.
  • API errors may occur if the client ID does not exist or the user lacks permission to delete the client.

Discussion