Delete

View as Markdown

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

This action cannot be undone.

Please be sure you want to go through with this action, as it cannot be undone.

Path parameters

AccountSidstringRequiredformat: "uuid"
The Project ID that uniquely identifies the Account.
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 .remove()
6 .then(fax => console.log(fax.sid))
7 .done();

Response

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