> This page is for SWML.

> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

# stop_tap

> Stop an active tap stream.

Stop an active tap stream.

**`stop_tap`** `object` — required

An object that accepts the following properties.

---

## **Properties**

**`stop_tap.control_id`** `string` — default: The last tap started will be stopped

ID of the tap to stop

---

## **Variables**

Read by the method:

* **tap\_control\_id:** (in) Control ID of last tap stream started.

Set by the method:

* **stop\_tap\_result:** (out) Success or failed.

## **Examples**

### Stop the last call tap

#### YAML

```yaml
version: 1.0.0
sections:
  main:
    - stop_tap: {}
```

#### JSON

```json
{
  "version": "1.0.0",
  "sections": {
    "main": [
      {
        "stop_tap": {}
      }
    ]
  }
}
```

### Stop a specific call tap

#### YAML

```yaml
version: 1.0.0
sections:
  main:
    - stop_tap:
        control_id: my-tap-id
```

#### JSON

```json
{
  "version": "1.0.0",
  "sections": {
    "main": [
      {
        "stop_tap": {
          "control_id": "my-tap-id"
        }
      }
    ]
  }
}
```