Delete a fax
DELETE
/v1/Accounts/{auth_id}/Faxes/{fax_sid}
const url = 'https://api.siprtc.io/v1/Accounts/AC000000000000000000/Faxes/FX0123456789ABCDEF0123456789ABCDEF';const options = {method: 'DELETE', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.siprtc.io/v1/Accounts/AC000000000000000000/Faxes/FX0123456789ABCDEF0123456789ABCDEF \ --header 'Authorization: Basic <credentials>'Deletes one of your faxes from the fax log (a soft delete: the record is marked deleted and no longer listed). It does not cancel a fax that is still queued or being retried. The response has no body.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” auth_id
required
string
Your account’s Auth ID (20 upper-case letters and digits).
Example
AC000000000000000000 fax_sid
required
string
Fax sid.
Example
FX0123456789ABCDEF0123456789ABCDEFResponses
Section titled “ Responses ”Deleted.
Missing or wrong credentials, or credentials that may not act for {auth_id}. Body: ‘Authentication failed’.
Media type application/json
string
Example generated
exampleNo such fax on this account, already deleted, or a storage error (message ‘fax not found’ for a missing fax).
Media type application/json
object
message
Human-readable reason.
string
status
Always “failed”.
string
Example
{ "message": "fax not found", "status": "failed"}Unexpected server error.
Media type application/json
object
message
Human-readable reason.
string
Example
{ "message": "Request Entity Too Large"}