For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete a Recording

Delete an existing recording

HTTP DELETE

/2012-04-24/Accounts/{AccountSid}/Recordings/{RecordingSid}

or

HTTP POST

/2012-04-24/Accounts/{AccountSid}/Recordings

This function allows you to delete a recording on our system using an HTTP POST or an HTTP DELETE.

You can put the recording sid OR just use the file name if it's easier.

curl https://v1.api19.com/call/2012-04-24/Accounts/ACCOUNT_SID/Recordings \
   -d 'delete_file=recording_sid'
   -u 'API_Token'
curl -X DELETE https://v1.api19.com/call/2012-04-24/Accounts/ACCOUNT_SID/Recordings/RECORDING_SID  \
   -u 'API_Token:account_sid'

Possible Responses

HTTP Status: 200
{"status": "ok"}

OR

HTTP Status: 404
{"status": "error", "error": "file missing"}

Last updated