---
title: "Stop network traffic capture"
method: POST
path: "/sessions/{sessionId}/device/disableNetworkCapture"
tags: ["Device Interactions"]
---

# Stop network traffic capture

`POST /sessions/{sessionId}/device/disableNetworkCapture`

## Request

- Base URL: `https://api.us-west-1.saucelabs.com/rdc/v2`
- URL: `https://api.us-west-1.saucelabs.com/rdc/v2/sessions/{sessionId}/device/disableNetworkCapture`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/saucelabs/apis/real-device-access-api-reference/docs/sessions/:sessionId/device/disableNetworkCapture/post.ts> (a function with typed inputs; its response is checked against the schema)

Stops the ongoing system-wide network traffic capture for the device session. Returns HTTP 204.

## Path parameters

- `sessionId` string, required

## Response `204`

Network capture stopped successfully

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/saucelabs/apis/real-device-access-api-reference.md) - [All operations](https://skmtc.dev/saucelabs/apis/real-device-access-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/saucelabs/apis/real-device-access-api-reference/revisions/f845a4b66e37?raw)
