Method: folders.create

Full name: accounts.containers.workspaces.folders.create

Creates a GTM Folder.

HTTP request

POST https://tagmanager.googleapis.com/tagmanager/v2/{parent}/folders

Path parameters

Parameters
parent

string

GTM Workspace's API relative path. It takes the form accounts/{account}/containers/{container}/workspaces/{workspace}.

Request body

The request body contains an instance of Folder.

Response body

If successful, the response body contains a newly created instance of Folder.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.