Skip to main content
Glama

fluentcrm_delete_smart_link

Remove a smart link from FluentCRM marketing automation by specifying its ID. This action deletes the link from your WordPress plugin's campaign management system.

Instructions

Usuwa Smart Link (może nie być dostępne w obecnej wersji)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
smartLinkIdYesID Smart Link do usunięcia

Implementation Reference

  • Core handler function in FluentCRMClient that performs the DELETE request to the Smart Links API endpoint and handles potential 404 errors by returning a user-friendly message.
    async deleteSmartLink(smartLinkId: number) { try { const response = await this.apiClient.delete(`/smart-links/${smartLinkId}`); return response.data; } catch (error: any) { if (error.response?.status === 404) { return { success: false, message: "Smart Links API endpoint not available yet in FluentCRM", suggestion: "Delete Smart Link manually in FluentCRM admin panel" }; } throw error; } }
  • Input schema defining the required 'smartLinkId' parameter as a number.
    inputSchema: { type: 'object', properties: { smartLinkId: { type: 'number', description: 'ID Smart Link do usunięcia' }, }, required: ['smartLinkId'], },
  • Tool registration in the MCP server's tools list, including name, description, and input schema.
    name: 'fluentcrm_delete_smart_link', description: 'Usuwa Smart Link (może nie być dostępne w obecnej wersji)', inputSchema: { type: 'object', properties: { smartLinkId: { type: 'number', description: 'ID Smart Link do usunięcia' }, }, required: ['smartLinkId'], }, },
  • MCP server request handler case that invokes the client.deleteSmartLink method and formats the response.
    case 'fluentcrm_delete_smart_link': return { content: [{ type: 'text', text: JSON.stringify(await client.deleteSmartLink((args as any)?.smartLinkId), null, 2) }] };

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/netflyapp/fluentcrm-mcp-server'

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