Skip to content

List databases of a hosting package

GET /hosting/packages/{id}/databases

Operation ID: ListHostingDatabases

Lists the databases of the package. Credentials are never returned , database passwords are available only in the regfish dash.

Name Type Required Description
id string yes
Status Type Description
200 baseResult & object Databases (without credentials)
401 Error Unauthorized
404 Error Package not found
500 Error Unexpected error
Field Type Required Description
success boolean yes Success indicator
code integer no Response/Error Code
response object no
Terminal-Fenster
curl -X GET "https://api.regfish.com/hosting/packages/<id>/databases" \
-H "x-api-key: $REGFISH_API_KEY"

Fill in values — the call below updates as you type. Nothing is sent: the API does not currently allow browser requests from this domain (CORS). The API key is not stored.