infomaniak_delete_database
Delete a MariaDB database from an Infomaniak web hosting. Requires a confirmation token from the plan phase to complete the irreversible removal.
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.
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 | |||