Delete a Website — DELETE /api/websites/{websiteId}
Permanently remove a website and all associated analytics data from Betterumami. This action is irreversible and cannot be undone. Use with care.
Use this endpoint to permanently remove a website from Betterumami. The API checks that your API key has permission to delete the website before proceeding. On success, the website and every analytics record associated with it — pageviews, events, sessions, and recordings — are purged from the system.DELETE /api/websites/{websiteId}
This action is irreversible. Deleting a website permanently destroys all analytics data collected for it, including pageviews, custom events, sessions, and session recordings. There is no trash or recovery option. Make sure you have exported or backed up any data you need before calling this endpoint.
Request
Headers
string
required
Bearer token. Pass your API key: Authorization: Bearer <api-key>
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Betterumami","colors":{"primary":"#5e6ad2","light":"#ffffff","dark":"#e4a636"},"favicon":"https://media.brand.dev/a2720422-5590-43f2-93ff-8715b0f00578.svg","styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"betterumami","hasAudioNarration":false,"actualSubdomain":"betterumami","customDomains":["docs.betterumami.com"],"gitSource":{"type":"github","owner":"ig-imanish","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ab1553ffa079cdc13ed4f37","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"Documentation","count":23},{"language":"default","tag":"API Reference","count":14},{"language":"default","tag":"Analytics \u0026 Reports","count":8},{"language":"default","tag":"Websites","count":5},{"language":"default","tag":"Stats \u0026 Events","count":5},{"language":"default","tag":"Account \u0026 Team","count":4},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"Tracking","count":4},{"language":"default","tag":"Overview","count":3},{"language":"default","tag":"Integrations","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/delete-website","slug":"/api-reference/delete-website","pageMetadata":{"title":"Delete a Website — DELETE /api/websites/{websiteId}","sidebarTitle":"Delete Website","description":"Permanently remove a website and all associated analytics data from Betterumami. This action is irreversible and cannot be undone. Use with care.","href":"/api-reference/delete-website"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Permanently remove a website and all associated analytics data from Betterumami. This action is irreversible and cannot be undone. Use with care.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,ResponseField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use this endpoint to permanently remove a website from Betterumami. The API checks that your API key has permission to delete the website before proceeding. On success, the website and every analytics record associated with it — pageviews, events, sessions, and recordings — are purged from the system.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`DELETE /api/websites/{websiteId}`})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`This action is irreversible.`}),` Deleting a website permanently destroys all analytics data collected for it, including pageviews, custom events, sessions, and session recordings. There is no trash or recovery option. Make sure you have exported or backed up any data you need before calling this endpoint.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Bearer token. Pass your API key: `,_jsx(_components.code,{children:`Authorization: Bearer \u003capi-key>`})]})}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`websiteId`,type:`string`,required:true,id:`param-website-id`,children:_jsx(_components.p,{children:`The unique UUID of the website to delete.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`200 – Success`})}),`\n`,_jsx(ResponseField,{name:`ok`,type:`boolean`,required:true,id:`param-ok`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the website was successfully deleted.`]})}),`\n`,_jsx(CodeBlock,{filename:`200 Response`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ok\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`code-sample`,children:`Code Sample`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` DELETE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.umami.is/v1/websites/b8d3a1f0-1c2d-4e5f-8a9b-0c1d2e3f4a5b'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003capi-key>'`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Delete a Website — DELETE /api/websites/{websiteId}","sidebarTitle":"Delete Website","description":"Permanently remove a website and all associated analytics data from Betterumami. This action is irreversible and cannot be undone. Use with care.","href":"/api-reference/delete-website"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Code Sample","slug":"code-sample","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"betterumami","siteName":"Betterumami","title":"Delete a Website — DELETE /api/websites/{websiteId} - Betterumami","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-21T16:03:02.727Z","originalFileLocation":"api-reference/delete-website.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Permanently remove a website and all associated analytics data from Betterumami. This action is irreversible and cannot be undone. Use with care.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Betterumami\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/svg+xml\" sizes=\"180x180\" href=\"https://media.brand.dev/a2720422-5590-43f2-93ff-8715b0f00578.svg\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://media.brand.dev/a2720422-5590-43f2-93ff-8715b0f00578.svg\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://media.brand.dev/a2720422-5590-43f2-93ff-8715b0f00578.svg\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://media.brand.dev/a2720422-5590-43f2-93ff-8715b0f00578.svg\">\u003cmeta data-mint-head property=\"og:title\" content=\"Delete a Website — DELETE /api/websites/{websiteId} - Betterumami\">\u003cmeta data-mint-head property=\"og:description\" content=\"Permanently remove a website and all associated analytics data from Betterumami. This action is irreversible and cannot be undone. Use with care.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Betterumami\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.betterumami.com/api-reference/delete-website\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://betterumami.mintlify.site/_mintlify/api/og/v2?division=Websites\u0026amp;title=Delete+a+Website+%E2%80%94+DELETE+%2Fapi%2Fwebsites%2F%7BwebsiteId%7D\u0026amp;description=Permanently+remove+a+website+and+all+associated+analytics+data+from+Betterumami.+This+action+is+irreversible+and+cannot+be+undone.+Use+with+care.\u0026amp;theme=ecb97bbd400c2eb498e1d712\u0026amp;signature=66cc4e9a05fa450d9b3b45c972e43bb0464646762abc342ee34218f5259cb742\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Delete a Website — DELETE /api/websites/{websiteId} - Betterumami\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Permanently remove a website and all associated analytics data from Betterumami. This action is irreversible and cannot be undone. Use with care.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://betterumami.mintlify.site/_mintlify/api/og/v2?division=Websites\u0026amp;title=Delete+a+Website+%E2%80%94+DELETE+%2Fapi%2Fwebsites%2F%7BwebsiteId%7D\u0026amp;description=Permanently+remove+a+website+and+all+associated+analytics+data+from+Betterumami.+This+action+is+irreversible+and+cannot+be+undone.+Use+with+care.\u0026amp;theme=ecb97bbd400c2eb498e1d712\u0026amp;signature=66cc4e9a05fa450d9b3b45c972e43bb0464646762abc342ee34218f5259cb742\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/betterumami/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Betterumami\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5e6ad2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.betterumami.com/api-reference/delete-website\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/delete-website.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.betterumami.com/#organization\",\"name\":\"Betterumami\",\"url\":\"https://docs.betterumami.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.betterumami.com#website\",\"name\":\"Betterumami\",\"url\":\"https://docs.betterumami.com\",\"publisher\":{\"@id\":\"https://docs.betterumami.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.betterumami.com/api-reference/delete-website#webpage\",\"url\":\"https://docs.betterumami.com/api-reference/delete-website\",\"name\":\"Delete a Website — DELETE /api/websites/{websiteId}\",\"description\":\"Permanently remove a website and all associated analytics data from Betterumami. This action is irreversible and cannot be undone. Use with care.\",\"dateModified\":\"2026-09-21T16:03:02.727Z\",\"isPartOf\":{\"@id\":\"https://docs.betterumami.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.betterumami.com/api-reference/delete-website#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.betterumami.com/api-reference/delete-website#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Websites\",\"item\":\"https://docs.betterumami.com/api-reference/list-websites\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Delete a Website — DELETE /api/websites/{websiteId}\",\"item\":\"https://docs.betterumami.com/api-reference/delete-website\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.betterumami.com/api-reference/delete-website#article\",\"headline\":\"Delete a Website — DELETE /api/websites/{websiteId}\",\"name\":\"Delete a Website — DELETE /api/websites/{websiteId}\",\"description\":\"Permanently remove a website and all associated analytics data from Betterumami. This action is irreversible and cannot be undone. Use with care.\",\"url\":\"https://docs.betterumami.com/api-reference/delete-website\",\"mainEntityOfPage\":{\"@id\":\"https://docs.betterumami.com/api-reference/delete-website#webpage\"},\"dateModified\":\"2026-09-21T16:03:02.727Z\",\"publisher\":{\"@id\":\"https://docs.betterumami.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.betterumami.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Betterumami\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Betterumami\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/delete-website.md","siteName":"Betterumami","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Betterumami REST API Reference Overview","sidebarTitle":"Overview","href":"/api-reference/introduction"},{"title":"Authenticating Betterumami API Requests","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Sending Tracking Events via the Betterumami API","sidebarTitle":"Sending Stats","href":"/api-reference/sending-stats"}]},{"group":"Websites","pages":[{"title":"List All Websites — Betterumami GET /api/websites","sidebarTitle":"List Websites","href":"/api-reference/list-websites"},{"title":"Get Website by ID — GET /api/websites/{websiteId}","sidebarTitle":"Get Website","href":"/api-reference/get-website"},{"title":"Create a New Website — Betterumami POST /api/websites","sidebarTitle":"Create Website","href":"/api-reference/create-website"},{"title":"Update a Website — POST /api/websites/{websiteId}","sidebarTitle":"Update Website","description":"Modify a website's name, domain, public share token, or session replay and heatmap recording configuration. Only fields you include are updated.","href":"/api-reference/update-website"},{"title":"Delete a Website — DELETE /api/websites/{websiteId}","sidebarTitle":"Delete Website","href":"/api-reference/delete-website"}]},{"group":"Stats \u0026 Events","pages":[{"title":"Get Website Stats — GET /api/websites/{websiteId}/stats","sidebarTitle":"Get Stats","description":"Retrieve pageviews, unique visitors, visits, bounces, and total time on site for any date range, with an optional comparison period for trend analysis.","href":"/api-reference/get-website-stats"},{"title":"Get Pageviews Over Time — GET /api/websites/{id}/pageviews","sidebarTitle":"Get Pageviews","href":"/api-reference/get-website-pageviews"},{"title":"Get Website Metrics — GET /api/websites/{id}/metrics","sidebarTitle":"Get Metrics","href":"/api-reference/get-website-metrics"},{"title":"List Website Events — GET /api/websites/{websiteId}/events","sidebarTitle":"Get Events","href":"/api-reference/get-website-events"},{"title":"Get Active Visitors — GET /api/websites/{websiteId}/active","sidebarTitle":"Get Active Visitors","href":"/api-reference/get-website-active"}]},{"group":"Node Client","pages":[{"title":"Betterumami API Client Reference (@umami/api-client)","sidebarTitle":"API Client","href":"/api-reference/api-client"}]}]}]},"basePath":"","title":"Delete a Website — DELETE /api/websites/{websiteId} - Betterumami","deploymentId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","buildId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","dynamics":[],"chunks":[]}