Delete Object Type
curl --request DELETE \
--url https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));CRM objects
Delete Object Type
Delete a custom object type with its attributes, link types and records. An active type must be set to deprecated first.
DELETE
/
api
/
v1
/
crm
/
objects
/
{type_key}
Delete Object Type
curl --request DELETE \
--url https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));