Skip to main content
Deletes a user-defined variable from a Google Tag Manager workspace. Tags still referencing it will fail validation when creating a version. Note: GTM reports missing write access as ‘resource not found’, so if this fails on a variable that exists, the connected Google account needs Edit permission on the container (account-level Admin is not enough).

Inputs

Output

Type: Dict Returns {deleted: true, variableId} on success (the API returns an empty body).