Databases endpoints (Client API: web hosting) 11 FeatherPanel Client API: web hosting endpoints from user/webspaces/databases.php: methods, paths, auth, permissions, rate limits, parameters and responses.
Last synced from FeatherPanel 3faf369 on 1 Nov 2026 .
On this page
Defined in backend/app/routes/user/webspaces/databases.php . Authentication used here: Signed-in user . Read Authentication for how to send credentials and Rate limits and errors for the response envelope.
Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.
Endpoints GET /api/user/webspaces/{uuidShort}/databasesParameter In Type Required Description uuidShortpath - yes
curl -X GET " $PANEL_URL /api/user/webspaces/ $UUID_SHORT /databases" \
-H "Authorization: Bearer $FEATHERPANEL_API_KEY " \
-H "Accept: application/json" GET /api/user/webspaces/{uuidShort}/databases/hostsParameter In Type Required Description uuidShortpath - yes
curl -X GET " $PANEL_URL /api/user/webspaces/ $UUID_SHORT /databases/hosts" \
-H "Authorization: Bearer $FEATHERPANEL_API_KEY " \
-H "Accept: application/json" POST /api/user/webspaces/{uuidShort}/databasesParameter In Type Required Description uuidShortpath - yes
curl -X POST " $PANEL_URL /api/user/webspaces/ $UUID_SHORT /databases" \
-H "Authorization: Bearer $FEATHERPANEL_API_KEY " \
-H "Accept: application/json" Plugin events: featherpanel:webspace:database:create
DELETE /api/user/webspaces/{uuidShort}/databases/{databaseId}Parameter In Type Required Description uuidShortpath - yes databaseIdpath - yes
curl -X DELETE " $PANEL_URL /api/user/webspaces/ $UUID_SHORT /databases/ $DATABASE_ID " \
-H "Authorization: Bearer $FEATHERPANEL_API_KEY " \
-H "Accept: application/json" Plugin events: featherpanel:webspace:database:delete
POST /api/user/webspaces/{uuidShort}/databases/{databaseId}/reset-passwordParameter In Type Required Description uuidShortpath - yes databaseIdpath - yes
curl -X POST " $PANEL_URL /api/user/webspaces/ $UUID_SHORT /databases/ $DATABASE_ID /reset-password" \
-H "Authorization: Bearer $FEATHERPANEL_API_KEY " \
-H "Accept: application/json" POST /api/user/webspaces/{uuidShort}/databases/{databaseId}/dumpParameter In Type Required Description uuidShortpath - yes databaseIdpath - yes
curl -X POST " $PANEL_URL /api/user/webspaces/ $UUID_SHORT /databases/ $DATABASE_ID /dump" \
-H "Authorization: Bearer $FEATHERPANEL_API_KEY " \
-H "Accept: application/json" POST /api/user/webspaces/{uuidShort}/databases/{databaseId}/restoreParameter In Type Required Description uuidShortpath - yes databaseIdpath - yes
curl -X POST " $PANEL_URL /api/user/webspaces/ $UUID_SHORT /databases/ $DATABASE_ID /restore" \
-H "Authorization: Bearer $FEATHERPANEL_API_KEY " \
-H "Accept: application/json" GET /api/user/webspaces/{uuidShort}/databases/phpmyadmin/checkParameter In Type Required Description uuidShortpath - yes
curl -X GET " $PANEL_URL /api/user/webspaces/ $UUID_SHORT /databases/phpmyadmin/check" \
-H "Authorization: Bearer $FEATHERPANEL_API_KEY " \
-H "Accept: application/json" POST /api/user/webspaces/{uuidShort}/databases/{databaseId}/phpmyadmin/tokenParameter In Type Required Description uuidShortpath - yes databaseIdpath - yes
curl -X POST " $PANEL_URL /api/user/webspaces/ $UUID_SHORT /databases/ $DATABASE_ID /phpmyadmin/token" \
-H "Authorization: Bearer $FEATHERPANEL_API_KEY " \
-H "Accept: application/json" GET /api/user/webspaces/{uuidShort}/databases/phppgadmin/checkParameter In Type Required Description uuidShortpath - yes
curl -X GET " $PANEL_URL /api/user/webspaces/ $UUID_SHORT /databases/phppgadmin/check" \
-H "Authorization: Bearer $FEATHERPANEL_API_KEY " \
-H "Accept: application/json" POST /api/user/webspaces/{uuidShort}/databases/{databaseId}/phppgadmin/tokenParameter In Type Required Description uuidShortpath - yes databaseIdpath - yes
curl -X POST " $PANEL_URL /api/user/webspaces/ $UUID_SHORT /databases/ $DATABASE_ID /phppgadmin/token" \
-H "Authorization: Bearer $FEATHERPANEL_API_KEY " \
-H "Accept: application/json"