---
title: "Stop a packet capture session"
method: POST
path: "/packetcaptures/{id}/:stop"
tags: ["Packet Capture"]
---

# Stop a packet capture session

`POST /packetcaptures/{id}/:stop`

Stop an active packet capture session.

## Path parameters

- `id` integer, required

## Request body

- XiqCaptureStopRequest — The IDs of the devices for which the active packet capture is to be stopped. If empty, packet capture is to be stopped on all devices in this packet capture.
  - `device_ids` integer[] — The IDs of the devices for which the active packet capture is to be stopped. If empty, packet capture is to be stopped on all devices in this packet capture.

## Response `200`

OK

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/versions/5ff7ab84e8e8/schema)
