Skip to content

teardown

Permanently delete a deployment. The URL immediately returns 404 and the slug becomes available for reuse.

bash
npx based-page teardown --id <id>

Options

FlagDescription
--id <id>Deployment ID to delete (required)
--yesSkip the confirmation prompt

Example

bash
npx based-page teardown --id dep_abc123

You'll see a confirmation prompt:

You are about to permanently delete:

  URL:    https://my-site.based.page
  Title:  My Site
  ID:     dep_abc123

This cannot be undone. Continue? [y/N]

Type y to confirm.

Skip confirmation

bash
npx based-page teardown --id dep_abc123 --yes

Finding the ID

bash
npx based-page list

Notes

  • Permanent. There is no undo. The URL goes to 404 immediately.
  • Frees up a deployment slot on the free plan.
  • If you might want to restore the page later, use update to replace it with a "coming soon" message instead.

Deploy apps from conversation.