<aside> 📎 Endpoints
</aside>
GET https://your-panel.com/api/client/servers/<UUID>/databases
Available Include Parameters
?include=host
- displays host of the databases
Example Request
curl "<https://your-panel.com/api/client/servers/><UUID>/databases" \\
-H "Content-Type: application/json" \\
-H "Accept: application/vnd.wisp.v1+json" \\
-H "Authorization: Bearer APITOKEN" \\
-X GET
Example Response
POST https://your-panel.com/api/client/servers/<UUID>/databases
Required parameters
host
name
connections_from
Example Request
curl "<https://your-panel.com/api/client/servers/><UUID>/databases" \\
-H "Content-Type: application/json" \\
-H "Accept: application/vnd.wisp.v1+json" \\
-H "Authorization: Bearer APITOKEN" \\
-X POST \\
-d '
{
"host": "",
"name": "",
"connections_from": ""
}'
Example Response
DELETE https://your-panel.com/api/client/servers/<UUID>/databases/<ID>
Example Request
curl "<https://your-panel.com/api/client/servers/><UUID>/databases/<ID>" \\
-H "Content-Type: application/json" \\
-H "Accept: application/vnd.wisp.v1+json" \\
-H "Authorization: Bearer APITOKEN" \\
-X DELETE
Example Response
POST https://your-panel.com/api/client/servers/<UUID>/databases/<ID>/rotate-password
Example Request
curl "<https://your-panel.com/api/client/servers/><UUID>/databases/<ID>/rotate-password" \\
-H "Content-Type: application/json" \\
-H "Accept: application/vnd.wisp.v1+json" \\
-H "Authorization: Bearer APITOKEN" \\
-X POST
Example Response