[{"data":1,"prerenderedAt":176},["ShallowReactive",2],{"doc:cloudflare\u002Fremove-a-server":3},{"title":4,"description":5,"url":6,"markdownPath":7,"file":8,"section":9,"sectionTitle":10,"html":11,"toc":12,"navigation":35,"previous":174,"next":175},"Remove a Cloudflare Server","Remove an L4 Server from your Cloudflare account safely, keeping its backups, and clean up domains, mail and kept access.","\u002Fdocs\u002Fcloudflare\u002Fremove-a-server","\u002Fdocs\u002Fcloudflare\u002Fremove-a-server.md","docs\u002Fcloudflare\u002Fremove-a-server.md","cloudflare","Cloudflare","\u003Cp>L4 does not delete Servers for you. You remove a Cloudflare Server&#39;s resources yourself in your Cloudflare account, after saving a backup. Backups are never deleted with a Server; keep them until you are sure you no longer need them.\u003C\u002Fp>\n\u003Cblockquote class=\"callout callout-warning\">\u003Cp class=\"callout-title\">Warning\u003C\u002Fp>\u003Cp>Removing a Server permanently deletes its Accounts, conversations, files and settings for everyone. Members lose access. Make and keep a backup first.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Ch2 id=\"1-find-the-servers-resources\">\u003Ca class=\"heading-anchor\" href=\"#1-find-the-servers-resources\">1. Find the Server&#39;s resources\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>In your Server, open \u003Cstrong>Server settings → Deployment → Overview\u003C\u002Fstrong>. \u003Cstrong>Runtime\u003C\u002Fstrong> shows the Worker name, \u003Ccode>llll-&lt;uuid&gt;\u003C\u002Fcode>. Every resource of this Server uses the same UUID:\u003C\u002Fp>\n\u003Cdiv class=\"table-wrap\">\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Resource\u003C\u002Fth>\n\u003Cth>Name\u003C\u002Fth>\n\u003Cth>Remove?\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>Worker\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>llll-&lt;uuid&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Yes\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>D1 database\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>llll-&lt;uuid&gt;-db\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Yes\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>KV namespace\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>llll-&lt;uuid&gt;-tickets\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Yes\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>R2 files bucket\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>llll-&lt;uuid&gt;-files\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Yes, if it exists\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>R2 backups bucket\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>llll-&lt;uuid&gt;-backups\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>\u003Cstrong>No. Keep it.\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>A Server created by an older release may use a different Worker name; the Overview tab always shows the real one.\u003C\u002Fp>\n\u003Ch2 id=\"2-make-a-backup\">\u003Ca class=\"heading-anchor\" href=\"#2-make-a-backup\">2. Make a backup\u003C\u002Fa>\u003C\u002Fh2>\n\u003Col>\n\u003Cli>Open \u003Cstrong>Server settings → Deployment → Remove\u003C\u002Fstrong> and select \u003Cstrong>Review backups\u003C\u002Fstrong>, or go to \u003Cstrong>Server settings → Deployment → Backups\u003C\u002Fstrong>.\u003C\u002Fli>\n\u003Cli>Select \u003Cstrong>Download backup\u003C\u002Fstrong>, or save one to a separate S3-compatible bucket.\u003C\u002Fli>\n\u003Cli>Keep the archive somewhere safe.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>See \u003Ca href=\"\u002Fdocs\u002Fcloudflare\u002Fbackups\">Backups\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>\u003Cfigure class=\"doc-shot doc-shot-missing\">\u003Cdiv class=\"doc-shot-frame\" role=\"img\" aria-label=\"The Remove server tab with the notice that removal is handled by the deployment operator and the Review backups button\">\u003Cspan class=\"doc-shot-label\">Screenshot coming soon\u003C\u002Fspan>\u003Cspan class=\"doc-shot-alt\">The Remove server tab with the notice that removal is handled by the deployment operator and the Review backups button\u003C\u002Fspan>\u003C\u002Fdiv>\u003Cfigcaption>Server settings → Deployment → Remove\u003C\u002Ffigcaption>\u003C\u002Ffigure>\u003C\u002Fp>\n\u003Ch2 id=\"3-clean-up-while-the-server-still-runs\">\u003Ca class=\"heading-anchor\" href=\"#3-clean-up-while-the-server-still-runs\">3. Clean up while the Server still runs\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>If the Server keeps Cloudflare access, do these from its Settings first, so it removes its own Cloudflare configuration. Otherwise, mail domains and aliases are removed through the installer or by you in Cloudflare (step 4).\u003C\u002Fp>\n\u003Col>\n\u003Cli>\u003Cstrong>Mail domains.\u003C\u002Fstrong> In \u003Cstrong>Server settings → Mail → Domains\u003C\u002Fstrong>, select \u003Cstrong>Disconnect\u003C\u002Fstrong> for each domain.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Aliases.\u003C\u002Fstrong> In \u003Cstrong>Server settings → Deployment → Domain\u003C\u002Fstrong>, select \u003Cstrong>Remove\u003C\u002Fstrong> on each alias. The primary address cannot be removed here; check for it in step 4.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Kept Cloudflare access.\u003C\u002Fstrong> In \u003Cstrong>Server settings → Deployment → Updates\u003C\u002Fstrong>, select \u003Cstrong>Disconnect\u003C\u002Fstrong> on the \u003Cstrong>Cloudflare access\u003C\u002Fstrong> card.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch2 id=\"4-delete-the-resources-in-cloudflare\">\u003Ca class=\"heading-anchor\" href=\"#4-delete-the-resources-in-cloudflare\">4. Delete the resources in Cloudflare\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>In the Cloudflare dashboard for the Server&#39;s account:\u003C\u002Fp>\n\u003Col>\n\u003Cli>Delete the Worker \u003Ccode>llll-&lt;uuid&gt;\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>Delete the D1 database \u003Ccode>llll-&lt;uuid&gt;-db\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>Delete the KV namespace \u003Ccode>llll-&lt;uuid&gt;-tickets\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>Delete the R2 bucket \u003Ccode>llll-&lt;uuid&gt;-files\u003C\u002Fcode>, if there is one.\u003C\u002Fli>\n\u003Cli>Check your zone for anything left over for this Worker: Workers custom domains, Email Routing rules that send to it, and Email Sending configuration for its mail domains.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>Keep the R2 bucket \u003Ccode>llll-&lt;uuid&gt;-backups\u003C\u002Fcode> and any downloaded archives.\u003C\u002Fp>\n\u003Cblockquote class=\"callout callout-note\">\u003Cp class=\"callout-title\">Note\u003C\u002Fp>\u003Cp>Deleting the Worker also deletes its \u003Ccode>AUTH_SECRET\u003C\u002Fcode>. Settings that the Server encrypted with it, such as provider keys, cannot be decrypted from a backup afterwards.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Ch2 id=\"5-revoke-cloudflare-access\">\u003Ca class=\"heading-anchor\" href=\"#5-revoke-cloudflare-access\">5. Revoke Cloudflare access\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>If the Server kept the installer&#39;s OAuth grant, revoke L4&#39;s authorization in your Cloudflare profile.\u003C\u002Fli>\n\u003Cli>If you connected an API token, delete that token in the Cloudflare dashboard.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"6-remove-the-bookmark-from-devices\">\u003Ca class=\"heading-anchor\" href=\"#6-remove-the-bookmark-from-devices\">6. Remove the bookmark from devices\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Saved Servers are bookmarks on each device. When a saved \u003Ccode>workers.dev\u003C\u002Fcode> address no longer has a Worker, the Shell notices and removes it from that device. A Server saved under a custom domain is never removed automatically: select \u003Cstrong>Remove from this device\u003C\u002Fstrong> in \u003Ccode>\u002Fcreate\u003C\u002Fcode>, or the \u003Cstrong>×\u003C\u002Fstrong> next to it under \u003Cstrong>Saved on this device\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Ch2 id=\"pause-instead-of-removing\">\u003Ca class=\"heading-anchor\" href=\"#pause-instead-of-removing\">Pause instead of removing\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>An unfinished installation you no longer want is not removed by \u003Cstrong>Pause and start another\u003C\u002Fstrong> or by disconnecting Cloudflare. Pausing keeps its resources so you can resume. Delete them in Cloudflare the same way, and keep any backups.\u003C\u002Fp>\n",[13,17,20,23,26,29,32],{"id":14,"text":15,"depth":16},"1-find-the-servers-resources","1. Find the Server&39;s resources",2,{"id":18,"text":19,"depth":16},"2-make-a-backup","2. Make a backup",{"id":21,"text":22,"depth":16},"3-clean-up-while-the-server-still-runs","3. Clean up while the Server still runs",{"id":24,"text":25,"depth":16},"4-delete-the-resources-in-cloudflare","4. Delete the resources in Cloudflare",{"id":27,"text":28,"depth":16},"5-revoke-cloudflare-access","5. Revoke Cloudflare access",{"id":30,"text":31,"depth":16},"6-remove-the-bookmark-from-devices","6. Remove the bookmark from devices",{"id":33,"text":34,"depth":16},"pause-instead-of-removing","Pause instead of removing",[36,61,85,101,120,142,164],{"id":37,"title":38,"pages":39},"get-started","Get started",[40,43,46,49,52,55,58],{"title":41,"url":42},"What is L4","\u002Fdocs\u002Fget-started\u002Fwhat-is-l4",{"title":44,"url":45},"Choose how to run your Server","\u002Fdocs\u002Fget-started\u002Fchoose-how-to-run",{"title":47,"url":48},"Create a Server on Cloudflare","\u002Fdocs\u002Fget-started\u002Fcreate-on-cloudflare",{"title":50,"url":51},"Install on a VPS","\u002Fdocs\u002Fget-started\u002Finstall-on-a-vps",{"title":53,"url":54},"Connect to a Server","\u002Fdocs\u002Fget-started\u002Fconnect-a-server",{"title":56,"url":57},"Invite your team","\u002Fdocs\u002Fget-started\u002Finvite-your-team",{"title":59,"url":60},"Create your first Agent","\u002Fdocs\u002Fget-started\u002Ffirst-agent",{"id":9,"title":10,"pages":62},[63,66,69,72,75,78,81,84],{"title":64,"url":65},"L4 on Cloudflare","\u002Fdocs\u002Fcloudflare\u002Foverview",{"title":67,"url":68},"Cloudflare access","\u002Fdocs\u002Fcloudflare\u002Faccess",{"title":70,"url":71},"Costs and limits","\u002Fdocs\u002Fcloudflare\u002Fcosts-and-limits",{"title":73,"url":74},"Custom domain","\u002Fdocs\u002Fcloudflare\u002Fcustom-domain",{"title":76,"url":77},"Mail on Cloudflare","\u002Fdocs\u002Fcloudflare\u002Fmail",{"title":79,"url":80},"Update a Cloudflare Server","\u002Fdocs\u002Fcloudflare\u002Fupdates",{"title":82,"url":83},"Backups on Cloudflare","\u002Fdocs\u002Fcloudflare\u002Fbackups",{"title":4,"url":6},{"id":86,"title":87,"pages":88},"self-host","Self-host",[89,92,95,98],{"title":90,"url":91},"Run a Server on a VPS","\u002Fdocs\u002Fself-host\u002Fvps",{"title":93,"url":94},"Run a Server with Docker Compose","\u002Fdocs\u002Fself-host\u002Fdocker",{"title":96,"url":97},"Run a Server on Coolify","\u002Fdocs\u002Fself-host\u002Fcoolify",{"title":99,"url":100},"Compute Nodes","\u002Fdocs\u002Fself-host\u002Fcompute-nodes",{"id":102,"title":103,"pages":104},"concepts","Concepts",[105,108,111,114,117],{"title":106,"url":107},"Servers and the Shell","\u002Fdocs\u002Fconcepts\u002Fserver-and-shell",{"title":109,"url":110},"Accounts, Members and Roles","\u002Fdocs\u002Fconcepts\u002Faccounts-members-roles",{"title":112,"url":113},"Agents, Tasks and Runs","\u002Fdocs\u002Fconcepts\u002Fagents-tasks-runs",{"title":115,"url":116},"Files and backups","\u002Fdocs\u002Fconcepts\u002Ffiles-and-backups",{"title":118,"url":119},"Releases and updates","\u002Fdocs\u002Fconcepts\u002Freleases-and-updates",{"id":121,"title":122,"pages":123},"agents","Agents and MCP",[124,127,130,133,136,139],{"title":125,"url":126},"Agents overview","\u002Fdocs\u002Fagents\u002Foverview",{"title":128,"url":129},"Models and Providers","\u002Fdocs\u002Fagents\u002Fmodels-and-providers",{"title":131,"url":132},"Connect an MCP client","\u002Fdocs\u002Fagents\u002Fmcp",{"title":134,"url":135},"External agents","\u002Fdocs\u002Fagents\u002Fexternal-agents",{"title":137,"url":138},"Repositories and code work","\u002Fdocs\u002Fagents\u002Frepositories",{"title":140,"url":141},"Schedules","\u002Fdocs\u002Fagents\u002Fschedules",{"id":143,"title":144,"pages":145},"guides","Guides",[146,149,152,155,158,161],{"title":147,"url":148},"Chat","\u002Fdocs\u002Fguides\u002Fchat",{"title":150,"url":151},"Projects and Tasks","\u002Fdocs\u002Fguides\u002Fprojects-and-tasks",{"title":153,"url":154},"Mail","\u002Fdocs\u002Fguides\u002Fmail",{"title":156,"url":157},"Calls and Live","\u002Fdocs\u002Fguides\u002Fcalls",{"title":159,"url":160},"Notifications","\u002Fdocs\u002Fguides\u002Fnotifications",{"title":162,"url":163},"Telegram","\u002Fdocs\u002Fguides\u002Ftelegram",{"id":165,"title":166,"pages":167},"reference","Reference",[168,171],{"title":169,"url":170},"Glossary","\u002Fdocs\u002Freference\u002Fglossary",{"title":172,"url":173},"Troubleshooting","\u002Fdocs\u002Freference\u002Ftroubleshooting",{"title":82,"url":83},{"title":90,"url":91},1793304298212]