API Documentation

Reset Database Password

Generate a new MariaDB password. The plaintext is returned once — store it immediately.

Required scope: webspace:manage

Headers

Header Required Value
Authorization Yes Bearer YOUR_API_KEY

Response

{
  "data": {
    "id": "69e80ac1...",
    "subdomain": "ws-0862c.sitequest.eu",
    "dbName": "ws_0862c_db",
    "dbUser": "ws_0862c",
    "dbPassword": "Z9v…",
    "dbHost": "localhost",
    "warning": "Store this password now — it will not be shown again."
  }
}

Response Fields

Field Type Description
dbPassword string Returned only once. Cannot be retrieved later.
dbHost string MariaDB host. Always localhost (only reachable from inside the webspace).

Example

curl -X POST https://hosting.site.quest/api/v1/webspaces/69e80ac1.../db/password \
  -H "Authorization: Bearer sq_live_..."

MCP

This action is also available via the webspace_reset_db_password MCP tool.