***

title: detect_stop
slug: /reference/python/rest/calling/detect-stop
description: Stop an active detector on a call via REST.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[detect]: /docs/server-sdks/reference/python/rest/calling/detect

Stop an active detector.

<EndpointSchemaSnippet endpoint="POST /api/calling/calls" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /api/calling/calls" />

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

client.calling.detect_stop(call_id="call-id-xxx", control_id="ctrl-id")
```