Hosting: Databases

Delete account database

Permanently deletes a database and its remote connections.

The database name must be the full name returned by the list databases endpoint.

delete/api/hosting/v1/accounts/{username}/databases/{name}

Request

  • Base URL: https://developers.hostinger.com
  • URL: https://developers.hostinger.com/api/hosting/v1/accounts/{username}/databases/{name}
  • Auth: HTTP bearer

Path parameters

usernamestring required
Example:u123456789
namestring required
Example:u123456789_test_db

Full database name as returned by the list databases endpoint.

Response

Success empty response

messagestring

Example response

{
  "message": "Request accepted"
}

Changes

No recorded changes to this operation across all 130 revisions of this API.