---
title: "Clear Workspace Web Search Config"
method: DELETE
path: "/v1/workspaces/{workspace_id}/web-search"
tags: ["workspace-web-search"]
---

# Clear Workspace Web Search Config

`DELETE /v1/workspaces/{workspace_id}/web-search`

Drop a workspace's configuration, returning it to the deployment's behavior.

Idempotent: a workspace that has no configuration is already in the state
this asks for, so it answers with the unconfigured shape rather than a 404.

## Path parameters

- `workspace_id` string, uuid, required

## Response `200`

Successful Response

- WorkspaceWebSearchConfigPublic — A workspace's web-search configuration, or the unconfigured one it has without a row.
  - `allowed_domains` string[], nullable, required
  - `blocked_domains` string[], nullable, required
  - `configured` boolean, required
  - `created_at` string, nullable, required
  - `enabled` boolean, required
  - `max_results` integer, nullable, required
  - `provider_options` object, nullable, required
  - `purpose_hint` string, nullable, required
  - `updated_at` string, nullable, required
  - `web_search_configured` boolean, required
  - `workspace_id` string, uuid, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-24** `96084f27845e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mozilla-ai/apis/otari/changes/v1/workspaces/:workspace_id/web-search/delete.md)

---

[API](https://skmtc.dev/mozilla-ai/apis/otari.md) · [All operations](https://skmtc.dev/mozilla-ai/apis/otari/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mozilla-ai/otari/revisions/1a5cf829e593/schema)
