---
title: "Delete Website"
description: "Irrevocably removes a website and its monitoring history."
---

`DELETE /api/websites/:websitePublicId`

## Example (cURL)

```bash
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"

curl -X DELETE "$BASE_URL/api/websites/9a3d4d4d-7a4b-4f37-a9df-2a6f6d9d7a10" \
 -H "Authorization: Bearer $TOKEN" \
 -H "Accept: application/json"
```

## Response

```json
{ "success": true }
```

## Common errors

- `400 Website public ID (UUID) required` when `:websitePublicId` is invalid
- `401 Unauthorized` when you are not logged in
- `500 Failed to delete website` on server errors

