Delete Site
rybbit_delete_sitePermanently remove a website and its replay data from Rybbit Analytics. Use site ID to delete specific sites and manage your monitoring setup.
Instructions
Delete a site from Rybbit. This permanently removes the site and its replay data. Use rybbit_list_sites or rybbit_get_site_id to find site IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site ID (numeric ID or domain identifier) |
Implementation Reference
- src/tools/config.ts:354-373 (handler)The handler function for the rybbit_delete_site tool, which calls the client delete method.
async ({ siteId }) => { try { const data = await client.delete<{ success: boolean }>( `/sites/${siteId}` ); return { content: [ { type: "text" as const, text: truncateResponse({ message: `Site '${siteId}' deleted successfully`, ...data, }), }, ], }; } catch (err) { const message = err instanceof Error ? err.message : String(err); return { - src/tools/config.ts:338-353 (registration)The tool registration for rybbit_delete_site, including its schema and metadata.
server.registerTool( "rybbit_delete_site", { title: "Delete Site", description: "Delete a site from Rybbit. This permanently removes the site and its replay data. Use rybbit_list_sites or rybbit_get_site_id to find site IDs.", inputSchema: { siteId: siteIdSchema, }, annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true, }, },