Skip to main content
Glama

delete-board

Remove a Miro board by its ID. Deleted boards move to Trash on paid plans and can be restored within 90 days.

Instructions

Delete a Miro board by its ID. Deleted boards go to Trash (on paid plans) and can be restored via UI within 90 days after deletion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boardIdYesUnique identifier (ID) of the board that you want to delete

Implementation Reference

  • The handler function that executes the deletion of a Miro board by ID using MiroClient API, handles errors, and returns appropriate responses.
    fn: async ({ boardId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } await MiroClient.getApi().deleteBoard(boardId); return ServerResponse.text(JSON.stringify({ success: true, message: `Board ${boardId} has been successfully deleted.` }, null, 2)); } catch (error) { process.stderr.write(`Error deleting Miro board: ${error}\n`); return ServerResponse.error(error); } }
  • The ToolSchema definition including name, description, and input schema using Zod for boardId validation.
    const deleteBoardTool: ToolSchema = { name: "delete-board", description: "Delete a Miro board by its ID. Deleted boards go to Trash (on paid plans) and can be restored via UI within 90 days after deletion.", args: { boardId: z.string().describe("Unique identifier (ID) of the board that you want to delete") },
  • src/index.ts:114-114 (registration)
    Registers the deleteBoardTool with the ToolBootstrapper instance.
    .register(deleteBoardTool)
Install Server

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/k-jarzyna/mcp-miro'

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