CancelFax
Cancel a fax in progress.
Note that this will have effect only on faxes awaiting sending (negative status values in the status codes list), but not on faxes that are actively being transmitted.
Arguments
Name (bold if mandatory) | Type | Comments | Default |
---|---|---|---|
id | Number | ID of the fax to be cancelled. Note: This operation may be applied to single faxes or to individual faxes in a batch. | None, mandatory. |
Response
Standard HTTP response codes apply.
Sample Call
Raw HTTP
POST /outbound/faxes/279499862/cancel HTTP/1.1
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
Host: rest.interfax.net
cURL
curl "https://rest.interfax.net/outbound/faxes/279499862/cancel" ^
-X POST ^
-u username:password ^
-H content-length:0