Delete

View as Markdown

Use this endpoint for the Recordings method to delete a recording. If the deletion is successful, a 204 response, with no request body, will be returned.

Path parameters

AccountSidstringRequiredformat: "uuid"
The unique identifier for the account that is associated with this recording.
SidstringRequiredformat: "uuid"
The unique identifier for the recording.

Request examples

1const { RestClient } = require('@signalwire/compatibility-api')
2const client = RestClient('YourProjectID', 'YourAuthToken', { signalwireSpaceUrl: 'example.signalwire.com' })
3
4client.recordings('Sid')
5 .remove()
6 .then(recording => console.log(recording.sid))
7 .done();

Response

A successful request returns a 204 status code with no body.