Delete Template
curl --request DELETE \
--url https://api.example.com/api/v1/templates/{template_id}import requests
url = "https://api.example.com/api/v1/templates/{template_id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.example.com/api/v1/templates/{template_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}templates
Delete Template
Soft delete a template.
DELETE
/
api
/
v1
/
templates
/
{template_id}
Delete Template
curl --request DELETE \
--url https://api.example.com/api/v1/templates/{template_id}import requests
url = "https://api.example.com/api/v1/templates/{template_id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.example.com/api/v1/templates/{template_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}