Update a Fax
Changed onCancels a fax while it is still in queued status. Faxes that have begun processing, sending, or receiving cannot be canceled with this operation. Fax Logs are read-only and cannot change delivery state.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Fax.
Learn more about API scopes.
Request
- Base URLhttps://YOUR_SPACE.signalwire.com/api/laml/2010-04-01
- URLhttps://YOUR_SPACE.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/Faxes/{Sid}
- AuthHTTP basic
Path parameters
Universal Unique Identifier.
The Project ID that uniquely identifies the Account.
Universal Unique Identifier.
The Fax ID that uniquely identifies the Fax.
Request body application/x-www-form-urlencoded
Example request
{
"Status": "canceled"
}Response
The request has succeeded.
Example response
{
"account_sid": "b3877c40-da60-4998-90ad-b792e98472ac",
"api_version": "v1",
"date_created": "2018-11-26T20:00:00Z",
"date_updated": "2018-11-27T20:00:00Z",
"from": "+13103383454",
"media_url": "https://example.com/fax.pdf",
"media_sid": "b3877c40-da60-4998-90ad-b792e98472me",
"num_pages": "3",
"price": "-0.005",
"price_unit": "USD",
"sid": "b3877c40-da60-4998-90ad-b792e98472fx",
"to": "+13104456789",
"duration": 5000,
"links": {
"media": "/fax/v1/Faxes/b3877c40-da60-4998-90ad-b792e98472fx/Media"
},
"url": "/fax/v1/Faxes/b3877c40-da60-4998-90ad-b792e98472fx"
}Changes
- breaking
added 'unevaluatedProperties' constraint to the request body
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the
////response property for the status
- breaking
- breaking
response property
error_codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
error_messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
media_urllist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
num_pageslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
pricelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking