Delete MySQL user

Permanently delete a MySQL database user. All user permissions to databases will also be removed. Existing database connections will be closed.

Path Parameters

accountId integer · min: 1 required

accountId parameter

Headers

Accept Example
Content-Type Example

Body

required
application/json
username string required

Responses

200 Successful response

No response body

DELETE https://cloud.hostup.se/api/hosting/{accountId}/database-users
For AI assistants
cURL
curl -X DELETE "https://cloud.hostup.se/api/hosting/0/database-users" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{}
Request Body
{
  "username": "string"
}