POST
/
v1
/
projects
/
{project_id}
/
tags
/
{tag_id}
curl --request POST \
  --url https://api.landing.ai/v1/projects/{project_id}/tags/{tag_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "data": {
    "name": "<string>",
    "id": 123,
    "orgId": 123,
    "isArchived": true,
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "color": "<string>"
  }
}

Headers

apikey
string | null

Path Parameters

tag_id
integer
required

Query Parameters

timeout
integer | null
default:60

Body

application/json
name
string
required

Response

200
application/json

Successful Response

data
object | null
required
`; document.head.insertAdjacentHTML('afterbegin', gtmHeadHTML); } // Add GTM noscript to body function addGTMNoscript() { const gtmBodyHTML = ` `; document.body.insertAdjacentHTML('afterbegin', gtmBodyHTML); } // Initialize GTM when DOM is ready function initializeGTM() { if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', function() { addGTMScript(); addGTMNoscript(); }); } else { addGTMScript(); addGTMNoscript(); } } // Initialize dataLayer if it doesn't exist window.dataLayer = window.dataLayer || []; // Start initialization initializeGTM(); })();