For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get phpMyAdmin link

Returns a direct sign-on link to phpMyAdmin for the specified database.

get

Returns a direct sign-on link to phpMyAdmin for the specified database.

Use this when a visual database interface is needed for SQL queries, imports, exports, or table management. The database name must be the full name returned by the list databases endpoint.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
usernamestringRequiredExample: u123456789
namestringRequired

Full database name as returned by the list databases endpoint.

Example: u123456789_test_db
Responses
200

Success response

application/json
linkstringRequired

Direct sign-on URL to phpMyAdmin for the specified database.

Example: https://auth-db123.hostinger.com/signon.php?sid=abc123
get/api/hosting/v1/accounts/{username}/databases/{name}/phpmyadmin-link
GET /api/hosting/v1/accounts/{username}/databases/{name}/phpmyadmin-link HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "link": "https://auth-db123.hostinger.com/signon.php?sid=abc123"
}

Last updated

Was this helpful?