---
title: "Delete a project"
method: DELETE
path: "/api/projects/{projectName}"
tags: ["projects"]
---

# Delete a project

`DELETE /api/projects/{projectName}`

## Request

- Base URL: `https://api.hostim.dev`
- URL: `https://api.hostim.dev/api/projects/{projectName}`
- Auth: HTTP bearer

Delete a project

## Path parameters

- `projectName` string, required

## Response `200`

Project deleted

- GenericMessage
  - `error` string, required
  - `message` string, required

## Other responses

- `400`: Invalid input
- `401`: User not found
- `404`: Project not found
- `500`: Internal server error

---

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