Delete

View as Markdown

Use this endpoint for the Fax Media method to delete a fax media instance. If the delete is successful, a 204 response, with no body, will be returned.

This action cannot be undone.

Path parameters

AccountSidstringRequiredformat: "uuid"
The Project ID that uniquely identifies the Account.
FaxSidstringRequiredformat: "uuid"
The Fax ID that uniquely identifies the Fax.
SidstringRequiredformat: "uuid"
The Fax ID that uniquely identifies the Fax.

Request examples

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

Response

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