Skip to main content
Destroy an instance. destroy destroys a Namespace instance by its instance id.

Usage

Example

The following example creates a new instance with the default machine shape (4 CPUs and 8 GiB of memory).
1

Create an ephemeral instance

Create an ephemeral instance and note its ID:
Output
2

Destroy the instance

Destroy the instance using its ID:

Options

—force

Skip the confirmation when destroying the instance.
Last modified on August 20, 2026