{{define "trash"}}{{template "top" .}} {{if .Flash}}{{end}} {{if .FlashErr}}{{end}}

Trash

{{if .Trashed}}

A deleted app serves nothing and is hidden from the app list, but everything it had — its releases, its channels, its history — is still here. Restoring one brings all of that back with no routes: run carlos add <host> afterwards to serve it again.

A temporary app (named tmp-...) needs no carlos add: its instance records are kept in the Trash, so hosts serve it again on their own once it is restored.

Left alone, the platform destroys a trashed app on its own on the date in the last column: 30 days after it was deleted, or 3 days for a temporary app. That is permanent. The objects go, and the name is free for anyone in this account to claim again.

{{range .Trashed}} {{end}}
AppDeleted byDeletedDestroyed on
{{.App}} {{emptyOrDash .Actor}} {{fmtTime .DeletedAt}} {{fmtTime .PurgesAt}}
{{if .IsOwner}}

Delete now

Deleting now does what the wait would do on its own, immediately and permanently: every object the app owns is destroyed and its name is freed. There is no undo and no copy anywhere. Type the app's name to confirm, then confirm with your passkey. A signed-in browser on its own is not enough. An app still marked as production cannot be permanently deleted, whatever you type. Turn its safety delay off first.

{{range .Trashed}}
{{end}} {{end}} {{else}}

Nothing here. An app deleted with carlos apps delete waits in this Trash, restorable the whole time, until the platform destroys it: 30 days for most apps, 3 days for a temporary one.

{{end}} {{template "bottom" .}}{{end}}