---
title: "Delete Workspace"
method: DELETE
path: "/workspaces/{workspace_id}"
tags: ["Workspaces"]
---

# Delete Workspace

`DELETE /workspaces/{workspace_id}`

## Request

- Base URL: `https://api.browser-use.com/api/v4`
- URL: `https://api.browser-use.com/api/v4/workspaces/{workspace_id}`
- Auth: API key in header `X-Browser-Use-API-Key`

Archive a workspace. Idempotent for missing, archived, and foreign ids.

## Path parameters

- `workspace_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/browser-use/apis/browser-use-public-api-v4.md) · [All operations](https://skmtc.dev/browser-use/apis/browser-use-public-api-v4/llms.txt) · [OpenAPI document](https://skmtc.dev/browser-use/apis/browser-use-public-api-v4/revisions/cd7b1eee1102?raw)
