Workspaces and billing
Deleting and restoring
Deleting stops a resource at once but keeps it restorable for a grace period, seven days by default. Mistakes are cheap to undo.
What you can restore
| Resource | Restorable | What deleting does |
|---|---|---|
| Project | Yes | Stops every service in every environment and removes their domains. |
| Environment | Yes | Stops its services and removes their domains. |
| Service | Yes | Stops the service and removes its domains. |
| Domain | Yes | Stops routing the hostname. |
| Volume | No | Destroys the data when the grace period ends. |
| Workspace | No | Removes members and invitations. Projects must be moved or deleted first. |
Deleting a project, the production environment, a volume, or a workspace asks you to type its name.
Restore
Open Recently deleted from the clock icon in the top bar. Resources are
grouped under their project; restore a project and everything deleted with it
comes back. Through the API, call POST …/restore on the resource, such as
POST /v1/services/{serviceId}/restore.
Before you delete, the API's GET …/deletion-preview endpoints list what a
delete would take with it.