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

# Delete a mysql

`DELETE /api/projects/{projectName}/mysqls/{mysqlName}`

## Request

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

Delete a mysql

## Path parameters

- `projectName` string, required
- `mysqlName` string, required

## Response `200`

Mysql deleted

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

## Other responses

- `401`: User is not authorized
- `404`: Mysql 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)
