liara_delete_database
Remove a database from the Liara cloud platform by specifying its name to manage infrastructure and free up resources.
Instructions
Delete a database
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the database to delete |
Implementation Reference
- src/services/databases.ts:43-52 (handler)The deleteDatabase function is the core handler that executes the Liara API DELETE request to remove a specified database. This is the exact implementation of the tool logic for liara_delete_database./** * Delete a database */ export async function deleteDatabase( client: LiaraClient, name: string ): Promise<void> { validateRequired(name, 'Database name'); await client.delete(`/v1/databases/${name}`); }