---
title: "Delete a virtual tour"
method: POST
path: "/api/delete_virtual_tour"
tags: ["Virtual tours"]
---

# Delete a virtual tour

`POST /api/delete_virtual_tour`

## Request

- Base URL: `https://app.pedra.ai`
- URL: `https://app.pedra.ai/api/delete_virtual_tour`
- Auth: none required

Deletes the tour; its public link returns 404 from then on. The 360° photos stay in the property. API only (not exposed as an MCP tool).

## Request body

- object
  - `apiKey` string, required: Account API key, sent in the request body. Get one at https://app.pedra.ai under Settings → API.
  - `tourId` string, required

## Response `200`

Tour deleted.

- object
  - `message` string
  - `tourId` string

## Other responses

- `404`: Missing, invalid, or revoked API key, or a tour/property that isn't on this account.
- `405`: Wrong HTTP method — all endpoints accept POST (credits also accepts GET).
- `409`: The tour is still being built.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/pedra/apis/pedra-api.md) · [All operations](https://skmtc.dev/pedra/apis/pedra-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pedra/apis/pedra-api/revisions/87b2e76912c8?raw)
