---
title: "Delete Website"
method: DELETE
path: "/websites/{hostname}"
tags: ["Website"]
---

# Delete Website

`DELETE /websites/{hostname}`

Delete a website.

## Path parameters

- `hostname` string, hostname, required

## Cookies

- `_me_sess` string, required

## Response `204`

Success No Content

## Other responses

- `400` — 400 Bad Request.
- `401` — 401 Unauthorised.
- `403` — 403 Forbidden.
- `404` — 404 Not Found.
- `500` — 500 Unexpected Internal Server Error.

## Changes

- **2024-09-04** `251a51c1c932` — 6 warning
  - the optional response header `X-API-Commit` removed for the status `204`
  - the optional response header `X-API-Commit` removed for the status `400`
  - the optional response header `X-API-Commit` removed for the status `401`
  - the optional response header `X-API-Commit` removed for the status `403`
  - …2 more
- **2024-07-05** `a269ab006c8e` — 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `204`
- **2024-06-30** `860d419093ef` — 2 info
  - api tag `Website` added
  - api tag `website` removed
- **2024-06-23** `befa5caf6a6c` — 1 info
  - added the non-success response with the status `403`
- **2023-11-26** `b173cabb315f` — 1 breaking, 4 warning, 4 info
  - removed the success response with the status `204`
  - the optional response header `X-Api-Commit` removed for the status `400`
  - the optional response header `X-Api-Commit` removed for the status `401`
  - the optional response header `X-Api-Commit` removed for the status `404`
  - …5 more

[Change history](https://skmtc.dev/medama-io/apis/medama-analytics-api/changes/websites/:hostname/delete.md)

---

[API](https://skmtc.dev/medama-io/apis/medama-analytics-api.md) · [All operations](https://skmtc.dev/medama-io/apis/medama-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/medama-io/medama-analytics-api/revisions/77bbbf562f15/schema)
