For an existing Tonic Ephemeral database, to update the configuration, use:
PUT /api/database/{databaseId}
For an existing database, you can change the expiration configuration.
To reset a database, use:
POST /api/database/{databaseId}/reset
The request includes whether to reset to an empty database or to a specific snapshot, and identifies the snapshot.
To deactivate an active database, use:
POST /api/database/{databaseId}/deactivate
To reactivate an inactive database based on the most recent snapshot, use:
POST /api/database/{databaseId}/reactivate
To delete a database, use:
DELETE /api/database/{id}