Create MySQL user

Create a new MySQL database user. The username will be automatically prefixed with your cPanel username. Database access must be configured separately.

Path Parameters

accountId integer · min: 1 required

accountId parameter

Headers

Accept Example
Content-Type Example

Body

required
application/json
username string required
password string required

Responses

200 Successful response

No response body

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