Workspaces: create

Requires authorization

Creates a Workspace. Try it now.

Request

HTTP request

POST https://www.googleapis.com/tagmanager/v2/+parent/workspaces

Parameters

Parameter name Value Description
Path parameters
parent string GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{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 Workspaces resource with the following properties:

Property name Value Description Notes
Required Properties
name string Workspace display name. writable
Optional Properties
description string Workspace description. writable

Response

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

Try it!

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