Delete Data

// // overview leveraging the unique interactionidentifier provided upon declaring an audio https //docs elevateai com/tutorials/declare an audio interaction , transcript https //docs elevateai com/tutorials/declare a transcript , or chat https //docs elevateai com/tutorials/declare a chat interaction interaction, this endpoint enables you to instantly delete all results associated with the interaction from our database note all source data is deleted immediately and promptly upon processing see data retention & security https //docs elevateai com/overview#mywqd for additional details when the delete 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 in troubleshooting troubleshooting // // request parameters & code example \<?php $curl = curl init(); curl setopt array($curl, array ( curlopt url => 'https //api elevateai com/v1/interactions/%7binteractionidentifier%7d', curlopt returntransfer => true , curlopt encoding => '', curlopt maxredirs => 10, curlopt timeout => 0, curlopt followlocation => true , curlopt http version => curl http version 1 1, curlopt customrequest => 'delete', curlopt httpheader => array ( 'x api token {your api token}' ),)); $response = curl exec($curl); curl close($curl); echo $response;