---
title: "Delete Trusted Preview Hosts"
method: DELETE
path: "/settings/preview-hosts"
tags: ["Settings"]
---

# Delete Trusted Preview Hosts

`DELETE /settings/preview-hosts`

## Request

- Base URL: `https://api.v0.dev/v2`
- URL: `https://api.v0.dev/v2/settings/preview-hosts`
- Auth: HTTP bearer

Deletes exact normalized host patterns. Returns 404 if any pattern is not configured. Wildcard coverage does not count as an exact match. The entire request succeeds or fails together.

## Request body

- object
  - `hosts` string[], required: Distinct hostname patterns to delete. Provide hostnames only, without scheme, port, path, userinfo, query, or fragment. *.example.com matches one subdomain label; **.example.com matches one or more. Neither includes the apex. Patterns are canonicalized before comparison.

## Response `200`

Response for status 200

- object
  - `success` true, required

## Other responses

- `401`: Response for status 401
- `403`: Response for status 403
- `404`: Response for status 404
- `422`: Response for status 422
- `500`: Response for status 500

## Changes

- **2026-09-17** `522223b11589`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/v0-platform-api-beta/changes/settings/preview-hosts/delete.md)

---

[API](https://skmtc.dev/vercel/apis/v0-platform-api-beta.md) - [All operations](https://skmtc.dev/vercel/apis/v0-platform-api-beta/llms.txt) - [OpenAPI document](https://skmtc.dev/vercel/apis/v0-platform-api-beta/revisions/467d24b4c224?raw)
