Daytona icon

Daytona

Manage Daytona sandboxes, snapshots, and volumes; run code and shell commands; drive a full Git pipeline; and manage the sandbox filesystem

Snapshot → Deactivate

AI-generated

Summary

Deactivate a Daytona snapshot by its ID or name. By default, poll until it reaches the inactive state, with a configurable timeout.

Inputs

  • Snapshot ID (required) — ID or name of the snapshot to deactivate.
  • Wait Until Inactive — Whether to wait for the snapshot to reach inactive before returning; defaults to true.
  • Wait Timeout (Seconds) — Maximum polling time in seconds when waiting is enabled; defaults to 120, with a range of 1–600.

Output shape

A single item containing the snapshot object as JSON.

When waiting is disabled, returns the response from the deactivation request. When waiting is enabled, returns the snapshot fetched after it reaches inactive. If the deactivation response is empty and waiting is disabled, returns {"id":"","deactivated":true}. Errors can be returned in an error item when Continue On Fail is enabled.

Links

Discussion