> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.telekesher.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.telekesher.dev/_mcp/server.

# Cancel outbound DTMF sequence

DELETE https://api.telekesher.dev/v1/sessions/{uuid}/dtmf/send

**Rate limit: Per command** · **Burst:** 20 · **Refill:** 20 req/s

Cancel the active outbound DTMF sequence for this session. The gateway deletes the remaining sensitive plan before returning, so no later key or wait action can be scheduled. A key already submitted to the media layer may still finish.

With no active sequence the request is accepted and has no effect. No terminal webhook is emitted; the 202 response is the cancellation acknowledgement.

Reference: https://docs.telekesher.dev/api/keypad-dtmf/cancel-dtmf-send

## Authentication

- `Authorization` header (bearer token, required) — Application auth. Send `Authorization: Bearer <app_uuid>:<api_key>`. See [Authentication](https://voice-platform.docs.buildwithfern.com/api/authentication) for details.

## Request

### Path parameters

- `uuid` (string, required) — [Session](/api/sessions) UUID (format `{5-char-prefix}-{uuid}`).

### Query parameters

- `operation_uuid` (string, optional) — Client-supplied UUID to label this cancel operation; must be a valid lowercase RFC-4122 v4 UUID or the request is rejected with 400. A UUID is generated when omitted and echoed in the 202 response.

## Response

### 202

Cancellation accepted.

- `operation_uuid` (string, required)
- `status` (enum, required)
  - Allowed values: `cancelling`

## Examples

**Response**

```json
{
  "operation_uuid": "550e8400-e29b-41d4-a716-446655440000",
  "status": "cancelling"
}
```

**SDK Code**

```python Keypad (DTMF)_cancelDTMFSend_example
import requests

url = "https://api.telekesher.dev/v1/sessions/uuid/dtmf/send"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.json())
```

```javascript Keypad (DTMF)_cancelDTMFSend_example
const url = 'https://api.telekesher.dev/v1/sessions/uuid/dtmf/send';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Keypad (DTMF)_cancelDTMFSend_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.telekesher.dev/v1/sessions/uuid/dtmf/send"

	req, _ := http.NewRequest("DELETE", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Keypad (DTMF)_cancelDTMFSend_example
require 'uri'
require 'net/http'

url = URI("https://api.telekesher.dev/v1/sessions/uuid/dtmf/send")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Keypad (DTMF)_cancelDTMFSend_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.delete("https://api.telekesher.dev/v1/sessions/uuid/dtmf/send")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Keypad (DTMF)_cancelDTMFSend_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('DELETE', 'https://api.telekesher.dev/v1/sessions/uuid/dtmf/send', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Keypad (DTMF)_cancelDTMFSend_example
using RestSharp;

var client = new RestClient("https://api.telekesher.dev/v1/sessions/uuid/dtmf/send");
var request = new RestRequest(Method.DELETE);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Keypad (DTMF)_cancelDTMFSend_example
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.telekesher.dev/v1/sessions/uuid/dtmf/send")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "DELETE"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```