Delete Data
// Overview
Leveraging the unique interactionIdentifier provided upon declaring the audioaudio, chatchat, or transcriptiontranscription, this enpoint enables you to instantly delete all results associated with the interaction from our database.
NOTE: All source data is permanently deleted once a deletion request is received and processed. This ensures your data is handled securely and in compliance with privacy best practices.
Please refer to the ElevateAI Data Retention & Security Guidelines for additional details.
When the DELETE request successfully executes, an HTTP status is returned to indicate the request was successful and all data associated with the interactionIdentifier has been removed from our database.
If an error occurs when requesting to declare the interaction, a standard HTTP response code is retuned to indicate the request was unsuccessful, along with a JSON response containing additional details to assist with troubleshooting.
// Request Parameters & Code Example
import http.client
conn = http.client.HTTPSConnection("api.elevateai.com")
payload = ''
headers = {
'X-API-Token': '{Your API Token}'
}
conn.request("DELETE", "/v1/interactions/{InteractionIdentifier}", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))Need more help? Contact the ElevateAI Support team.