/databases/phpmyadmin
0.1.0Unchanged since publicationCreate a phpMyAdmin sign-on URL
databasesallSend the browser to url within one minute and use it once. The response includes expires_at, the URL's expiration time. Sign-on uses the caller's own hidden database user. A customer's database user can access all databases they own. An administrator's database user can access the entire MariaDB server.
UrbeStack creates the hidden database user on first sign-on and sets a new password on each sign-on. phpMyAdmin redeems the token for the database credentials and discards the temporary copy. UrbeStack retires the password after it has gone unused by phpMyAdmin sessions for the configured idle limit.
A nonempty return_url must start with http:// or https:// and contain 1 to 1990 characters after that prefix, within the 2000-character limit. Whitespace, quotes, angle brackets, and backslashes are disallowed. The API returns 400 for an invalid return_url.
As a command
Run as root on the serverRequest body
JSON· 1 fieldreturn_urlstring, up to 2000 charactersExample
See the API overview for how to set $API and $TOKEN.curl -sS -X POST "$API/databases/phpmyadmin" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"return_url": "text"
}'200 OK{
"expires_at": "2026-09-16T10:15:00Z",
"url": "text"
}Errors
2 errors, each a status and a sentence400The return address is an http or https address, at most 2000 characters401Authentication requiredurbestack.com/docs/api/post-databases-phpmyadmin/