Delete an article
curl --request DELETE \
--url https://back.leap.onclarity.com/api/kb/articles/delete \
--header 'Authorization: Bearer <token>'import requests
url = "https://back.leap.onclarity.com/api/kb/articles/delete"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://back.leap.onclarity.com/api/kb/articles/delete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "<string>",
"message": "<string>"
}{
"code": "<string>",
"status": "error",
"message": "<string>",
"extra": {}
}{
"code": "<string>",
"status": "error",
"message": "<string>",
"extra": {}
}Knowledge base
Delete an article
DELETE
/
api
/
kb
/
articles
/
delete
Delete an article
curl --request DELETE \
--url https://back.leap.onclarity.com/api/kb/articles/delete \
--header 'Authorization: Bearer <token>'import requests
url = "https://back.leap.onclarity.com/api/kb/articles/delete"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://back.leap.onclarity.com/api/kb/articles/delete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "<string>",
"message": "<string>"
}{
"code": "<string>",
"status": "error",
"message": "<string>",
"extra": {}
}{
"code": "<string>",
"status": "error",
"message": "<string>",
"extra": {}
}Authorizations
Your organization API key (it starts with anek_org_). The same key works on the Voice API and the Support API. See Authentication.