Skip to main content
POST
Unlike the v1 endpoints, this endpoint identifies the organization and database by UUID — use the id field from Retrieve Organization and the DbId field from List Deleted Databases.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string<uuid>
required

The UUID of the organization. Retrieve it with the Retrieve Organization endpoint (the id field).

databaseId
string<uuid>
required

The UUID of the database, as returned when listing deleted databases (the DbId field).

Body

application/json
name
string

Optional new name for the restored database. If omitted, the original name is reused. The hostname is re-derived from the name.

Response

Successful response

database
object

The restored database.