Managing databases

Updating a database configuration

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.

Resetting a database

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.

Deactivating a database

To deactivate an active database, use:

POST /api/database/{databaseId}/deactivate

Reactivating a database

To reactivate an inactive database based on the most recent snapshot, use:

POST /api/database/{databaseId}/reactivate

Deleting a database

To delete a database, use:

DELETE /api/database/{id}

Last updated