Skip to main content

Cancel a fax

POST 
/faxes/:id/actions/cancel

Cancel the outbound fax that is in one of the following states: queued, media.processed, originated or sending

Request

Path Parameters

    id uuidrequired

    The unique identifier of a fax.

Responses

202: Successful response upon accepting cancel fax command

404: Fax does not exist

422: Unprocessable entity

default: Unexpected error

Request samples


curl -L -X POST 'https://api.telnyx.com/v2/faxes/:id/actions/cancel' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": {
"result": "ok"
}
}