infomaniak_create_database
Create a MariaDB database on a web hosting via two-phase commit. Requires a hosting ID and a database name.
Instructions
Create a new MariaDB database on a web hosting. Two-phase commit. Goes through the manager-private API because the public one silently no-ops on database POSTs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosting_id | Yes | Web hosting ID where the database will live. Discover via infomaniak_find_site(domain) or infomaniak_list_hostings. | |
| database_name | Yes | Database name. Alphanumeric and underscores only (no dots, dashes or hyphens), 1-64 chars. Infomaniak automatically prepends the hosting prefix (e.g. 'v33dqc_') — do NOT include it yourself. | |
| description | No | Optional description shown in the manager UI (≤ 255 chars). | |
| confirmation_token | No | Token from the prior plan response. Required on the apply phase only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||