Create a new MySQL database user. The username will be automatically prefixed with your cPanel username. Database access must be configured separately.
accountId integer · min: 1 required accountId parameter
Accept Example Content-Type Example username string required password string required No response body
https://cloud.hostup.se/api/hosting/{accountId}/database-users 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"
}' {} {
"username": "string",
"password": "string"
}