---
name: "website_delete"
area: "websites"
title: "Delete a website"
price: "free"
method: "POST"
url: "https://api.conecto.chat/v1/tools/website_delete"
mcp_server: "https://api.conecto.chat/mcp/websites"
auth: "Authorization: Bearer <conecto_sk_ key>"
docs_url: "https://conecto.chat/tools/websites/website_delete"
---

# Delete a website (`website_delete`)

Deletes a site for good, with its pages, versions and address; the name is never used again.

Delete the site for good: its pages, versions and address. It is taken offline first, and its name is never used again, so old links can't open someone else's site.

Price: Free. A call that fails costs nothing.

## Use it when

A site will never come back.

## Say this to your agent

> Delete the old pop-up shop website for good.

## Inputs

| Name | Type | Required | Description | Allowed values | Default |
|---|---|---|---|---|---|
| `site` | string | yes | The site's name, as in cncto.co/w/<name>. 3 to 60 characters. |  |  |

## Example

Written for Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon.

MCP: call `website_delete` on the MCP server `https://api.conecto.chat/mcp/websites` with these arguments:

```json
{
  "site": "halverson-popup"
}
```

REST:

```bash
curl https://api.conecto.chat/v1/tools/website_delete \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"site": "halverson-popup"}'
```

## Response

```json
{
  "call_id": "5f0c8a2e-3b7d-4c1e-9a64-2d8e1f7b0c93",
  "tool": "website_delete",
  "status": "succeeded",
  "replayed": false,
  "cost_usd": "$0.00",
  "balance_usd": "$19.75",
  "result": {
    "deleted": "halverson-popup"
  }
}
```

`result`: deleted: the site's name.

## Errors

| Code | Status | When | Fix |
|---|---|---|---|
| `not_found` | 404 | No website of the business has that name. | Call website_list and use one of its names. |

The refusals every tool can give (401 key, 402 balance, 429 limits) are on the errors page: https://conecto.chat/docs/errors.md

## Related

- [website_create](https://conecto.chat/tools/websites/website_create.md): Starts a website for the business at cncto.co/w/<name> as a draft with a home page, in its brand. $0.01 a call.
- [website_save_page](https://conecto.chat/tools/websites/website_save_page.md): Creates or changes a page of the draft from sections, or a blog post in Markdown. $0.01 a call.
- [website_settings](https://conecto.chat/tools/websites/website_settings.md): Changes the site's title, description, language, footer, header button, blog, and whether its pages carry the analytics script and the chat. $0.001 a call.
- [website_preview](https://conecto.chat/tools/websites/website_preview.md): A private link to the draft as it would look published, working for 24 hours. Free up to 1,000,000 reads a month.
- [website_publish](https://conecto.chat/tools/websites/website_publish.md): Puts the draft online; the first publish starts the monthly rent, later ones cost the price of an edit. $5 for the first publish (the first month of the site's rent), $0.01 after that ($5.00 the first time, then $0.01), up to $5.00.
- [website_get](https://conecto.chat/tools/websites/website_get.md): A site with every page of its draft, its settings, its kept versions, and whether the draft has unpublished changes. Free up to 1,000,000 reads a month.
- [website_list](https://conecto.chat/tools/websites/website_list.md): The business's websites, published or not. Free up to 1,000,000 reads a month.
- [website_delete_page](https://conecto.chat/tools/websites/website_delete_page.md): Removes a page or post from the draft; the home page stays. $0.001 a call.
- [website_rollback](https://conecto.chat/tools/websites/website_rollback.md): Publishes one of the kept versions again; the draft stays as it is. $0.01 a call.
- [website_unpublish](https://conecto.chat/tools/websites/website_unpublish.md): Takes the site offline and ends its rent; the draft and versions stay. Free.
