Skip to main content
Glama

liara_delete_vm

Delete a virtual machine from the Liara cloud platform by specifying its VM ID to remove infrastructure resources.

Instructions

Delete a virtual machine

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vmIdYesThe VM ID to delete

Implementation Reference

  • The core handler function that implements deleting a Liara virtual machine (VM) by its ID. It validates the VM ID, creates a specialized IaaS API client, and sends a DELETE request to the Liara IaaS API endpoint `/vm/{vmId}`.
    export async function deleteVM( client: LiaraClient, vmId: string ): Promise<void> { validateRequired(vmId, 'VM ID'); const iaasClient = createIaaSClient(client); await iaasClient.delete(`/vm/${vmId}`); }

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