Create Database
Creates a new database in a group for the organization or user.
post/v1/organizations/{organizationSlug}/databases
Request
- Base URLhttps://api.turso.tech
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organizationSlugstring required
The slug of the organization or user account.
Request body
Example request
{
"seed": {
"type": "database",
"name": "my-db",
"timestamp": "2023-12-20T09:46:08Z"
},
"remote_encryption": {
"encryption_key": "base64-encoded-key",
"encryption_cipher": "aes256gcm"
}
}Response
Successful response
Changes
No recorded changes to this operation across all 3 revisions of this API.