Skip to main content
Glama

liara_delete_ftp_access

Revoke FTP access permissions for a specific disk in your Liara cloud application to remove file transfer capabilities.

Instructions

Delete/revoke FTP access for a disk

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNameYesThe name of the app
diskNameYesThe name of the disk
ftpIdYesThe FTP access ID to delete

Implementation Reference

  • The core handler function that executes the logic to delete/revoke FTP access for a specific disk in a Liara project by making a DELETE request to the Liara API.
    export async function deleteFtpAccess( client: LiaraClient, appName: string, diskName: string, ftpId: string ): Promise<void> { validateAppName(appName); validateRequired(diskName, 'Disk name'); validateRequired(ftpId, 'FTP access ID'); await client.delete(`/v1/projects/${appName}/disks/${diskName}/ftp/${ftpId}`); }
  • Type definition for FTP access credentials, used in create/list operations related to the delete tool.
    export interface FtpAccess { _id?: string; hostname: string; port: number; username: string; password: string; }

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