liara_delete_network
Remove a network from the Liara cloud platform by specifying its network ID to manage infrastructure resources.
Instructions
Delete a network
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| networkId | Yes | The network ID to delete |
Implementation Reference
- src/services/network.ts:50-58 (handler)The handler function that implements the core logic for the 'liara_delete_network' tool. It validates the network ID and sends a DELETE request to the Liara API to delete the network.* Delete a network */ export async function deleteNetwork( client: LiaraClient, networkId: string ): Promise<void> { validateRequired(networkId, 'Network ID'); await client.delete(`/v1/networks/${networkId}`); }