Delete a fax

Method

DELETE

Path

faxes/ID

where ID is the ID number of the fax. May only be used with test API credentials.

Request Parameters

None

Response

A JSON object with success and message attributes.

Sample Call

curl -X DELETE https://api.phaxio.com/v2.1/faxes/123456 \
    -u 'API_KEY:API_SECRET'

Sample Response

{
    "success":true,
    "message":"Deleted fax successfully!"
}

Restrictions

Only records of test faxes can be fully deleted. If a fax was sent or received with a live API key or Phaxio phone number, only the stored files of the fax can be deleted with DELETE faxes/ID/file.