infomaniak_delete_database
Delete a MariaDB database from Infomaniak web hosting. Needs a confirmation token to permanently wipe all tables and rows; data cannot be recovered without a backup.
Instructions
Delete a MariaDB database. Two-phase commit, manager-private API. WARNING: the database content (tables, rows) is wiped and cannot be recovered without an Infomaniak backup.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hosting_id": "<hosting_id>",
"database_name": "<database_name>"
},
"name": "infomaniak_delete_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosting_id | Yes | Web hosting ID. Discover via infomaniak_find_site(domain) or infomaniak_list_hostings. | |
| database_name | Yes | Full database name as returned by infomaniak_list_databases (includes the hosting prefix, e.g. 'v33dqc_WP1250842'). NOT the unprefixed name you'd pass to create_database. | |
| confirmation_token | No | Token from the first (plan) phase. The plan response includes disk usage and any linked application so you can review before confirming. Re-pass to execute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||