Grant a MySQL user privileges to a database.
accountId integer · min: 1 required accountId parameter
Accept Example Content-Type Example username string required database string required privileges array required e.g., ['ALL', 'SELECT', 'INSERT']
No response body
https://cloud.hostup.se/api/hosting/{accountId}/database-users/privileges curl -X POST "https://cloud.hostup.se/api/hosting/0/database-users/privileges" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"username": "string",
"database": "string",
"privileges": []
}' {} {
"username": "string",
"database": "string",
"privileges": []
}