- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: accounts.containers.workspaces.list
Lists all Workspaces that belong to a GTM Container.
HTTP request
GET https://tagmanager.googleapis.com/tagmanager/v2/{parent}/workspaces
Path parameters
Parameters | |
---|---|
parent |
GTM parent Container's API relative path. It takes the form |
Query parameters
Parameters | |
---|---|
pageToken |
Continuation token for fetching the next page of results. |
Request body
The request body must be empty.
Response body
A list of workspaces in a container.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"workspace": [
{
object ( |
Fields | |
---|---|
workspace[] |
All Workspaces of a GTM Container. |
nextPageToken |
Continuation token for fetching the next page of results. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/tagmanager.edit.containers
https://www.googleapis.com/auth/tagmanager.readonly
For more information, see the OAuth 2.0 Overview.