Update tag by ID
curl --request PUT \
--url https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/{tagId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"type": "customer",
"title": "some string",
"color": "#000000"
}
'import requests
url = "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/{tagId}"
payload = {
"type": "customer",
"title": "some string",
"color": "#000000"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({type: 'customer', title: 'some string', color: '#000000'})
};
fetch('https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/{tagId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Tags
Update tag by ID
Update a tag
PUT
/
tags
/
{tagId}
Update tag by ID
curl --request PUT \
--url https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/{tagId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"type": "customer",
"title": "some string",
"color": "#000000"
}
'import requests
url = "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/{tagId}"
payload = {
"type": "customer",
"title": "some string",
"color": "#000000"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({type: 'customer', title: 'some string', color: '#000000'})
};
fetch('https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/{tagId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Was this page helpful?
⌘I