Skip to main content
Glama

liara_delete_object

Remove an object from a storage bucket on the Liara cloud platform by specifying the bucket name and object key.

Instructions

Delete an object from a bucket

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucketNameYesThe name of the bucket
objectKeyYesThe object key to delete

Implementation Reference

  • The main handler function that implements the logic for deleting an object from a Liara storage bucket. It takes a LiaraClient, bucket name, and object key, validates inputs, and calls the API delete endpoint.
    export async function deleteObject( client: LiaraClient, bucketName: string, objectKey: string ): Promise<void> { validateRequired(bucketName, 'Bucket name'); validateRequired(objectKey, 'Object key'); await client.delete(`/v1/buckets/${bucketName}/objects/${encodeURIComponent(objectKey)}`); }

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/razavioo/liara-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server