> For the complete documentation index, see [llms.txt](https://apidocs.api19.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.api19.com/call-apis/recordings/delete-a-recording.md).

# Delete a Recording

Delete an existing recording

{% hint style="info" %}
HTTP DELETE

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

<mark style="color:orange;">or</mark>

HTTP POST

**/2012-04-24/Accounts/{AccountSid}/Recordings**
{% endhint %}

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.

{% tabs %}
{% tab title="CURL POST" %}

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

{% endtab %}

{% tab title="CURL DELETE" %}

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

{% endtab %}
{% endtabs %}

#### Possible Responses

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

OR

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