Skip to main content
With zero data retention (ZDR), boat deletes the data of each sandbox when it stops. You cannot resume or fork a sandbox after it stops. ZDR is a setting of your own account. In an organization, each member turns it on for the sandboxes that they create. Read Organizations.

Read the setting

You can read the setting from anywhere. An API key works.
$BOAT_API_BASE is https://boat.dev/api/v1. GET /me also returns the setting, in the zeroDataRetention fields.

Enable zero data retention

To change the setting, you need a browser sign-in session. An API key does not work. Run boat login without a key first, or use the dashboard. An SDK client that uses BOAT_API_KEY gets 403 session_required. This is on purpose. Enabling ZDR deletes the data of every stopped sandbox, so a leaked API key must never reach it.
  1. Sign in with a browser session. Run boat login without a key, or open the dashboard.
  2. Send the exact phrase delete archived sandbox data as the confirmation. “Archived” is the API name of a stopped sandbox.
In the dashboard, the toggle is under Data & privacy on the Account tab.

What happens when ZDR is on

  • boat queues the data of your stopped sandboxes for deletion.
  • Each sandbox deletes its data when it stops. This includes auto-stop and a stop for an empty wallet.
  • boat removes your saved snapshots and queues their data for deletion. You cannot save a new saved snapshot.
  • Accepted deletions continue in the background until boat checks that they are complete.
You cannot cancel a deletion operation. If you disable ZDR, only future stops change. Operations that boat already accepted continue.
ZDR still snapshots a sandbox while it runs. boat uses these snapshots to rebuild a sandbox after a machine fails. To keep nothing at all, turn snapshots off.

Organizations

To cover a whole team, ask each member to turn ZDR on. Check each account with boat data-retention status. The same rule applies to snapshots off and monitoring off.