Skip to content

Re-deploy monitoring for a GTM domain from its stored selection

POST
/v1/integrations/gtm/redeploy
curl --request POST \
--url https://api.monita.ai/v1/integrations/gtm/redeploy \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "domainId": "example" }'
Media typeapplication/json
object
domainId
required
string
Examplegenerated
{
"domainId": "example"
}

Redeployed

Media typeapplication/json
object
deployed
required
boolean
workspacePath
required
string
workspaceName
required
string
workspaceCreated
required
boolean
template
required
string
Allowed values: new existing updated
tag
required
string
Allowed values: new updated
monitoredTags
required
number
Example
{
"template": "new",
"tag": "new"
}

Domain or stored selection not found

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Not connected / not configured

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}