liara_delete_bucket
Delete a storage bucket on the Liara cloud platform by specifying its name. This tool removes object storage containers from your infrastructure.
Instructions
Delete a storage bucket
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the bucket to delete |
Implementation Reference
- src/services/storage.ts:48-57 (handler)This is the core handler function that implements the logic for deleting a Liara object storage bucket by making a DELETE request to the Liara API endpoint `/v1/buckets/${name}`. It validates the bucket name parameter before executing the deletion. This function is the exact implementation behind the "liara_delete_bucket" MCP tool./** * Delete a bucket */ export async function deleteBucket( client: LiaraClient, name: string ): Promise<void> { validateRequired(name, 'Bucket name'); await client.delete(`/v1/buckets/${name}`); }