---
title: "Stop watching a directory"
method: DELETE
path: "/browsers/{id_or_name}/fs/watch/{watch_id}"
tags: ["Browser Filesystem"]
---

# Stop watching a directory

`DELETE /browsers/{id_or_name}/fs/watch/{watch_id}`

## Request

- Base URL: `https://api.onkernel.com`
- URL: `https://api.onkernel.com/browsers/{id_or_name}/fs/watch/{watch_id}`
- Auth: HTTP bearer

## Path parameters

- `id_or_name` string, required
- `watch_id` string, required

## Response `204`

Watch stopped successfully

## Other responses

- `400`: Bad Request – invalid input
- `403`: Forbidden – insufficient permissions or plan
- `404`: Resource not found
- `500`: Internal Server Error
- `default`: Error returned by the browser or its proxy

---

[API](https://skmtc.dev/onkernel/apis/kernel-api.md) - [All operations](https://skmtc.dev/onkernel/apis/kernel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onkernel/apis/kernel-api/revisions/0f6cf4f58fe6?raw)
