Note: This developer site is moving to developers.google.com/tag-platform and will be redirected by September 30, 2021

Folders: create

Requires authorization

Creates a GTM Folder. Try it now.

Request

HTTP request

POST https://www.googleapis.com/tagmanager/v1/accounts/accountId/containers/containerId/folders

Parameters

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

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

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

Request body

In the request body, supply a Folders resource with the following properties:

Property name Value Description Notes
Required Properties
name string Folder display name. writable

Response

If successful, this method returns a Folders resource in the response body.

Try it!

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