---
title: "Stop a watch."
method: DELETE
path: "/v1/sandboxes/{id}/files/watches/{watchId}"
tags: ["files"]
---

# Stop a watch.

`DELETE /v1/sandboxes/{id}/files/watches/{watchId}`

## Request

- Base URL: `https://api.withruntime.com`
- URL: `https://api.withruntime.com/v1/sandboxes/{id}/files/watches/{watchId}`
- Auth: HTTP bearer

Does not wake a paused sandbox: it answers 409 sandbox_not_running, unless the watch was sending to webhooks, which stops at once. A timed watch ends by its own timeout; an indefinite watch resumes with the sandbox.

## Path parameters

- `id` string, required: Resource identifier (UUID).
- `watchId` string, required: A watch's id.

## Headers

- `Idempotency-Key` string

## Response `200`

Success

- object
  - `stopped` boolean, required

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/withruntime/apis/runtime-cloud-api.md) · [All operations](https://skmtc.dev/withruntime/apis/runtime-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/withruntime/apis/runtime-cloud-api/revisions/6f4012286988?raw)
