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'

Possible Responses

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

OR

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

Last updated