databases_create
Create a new database in Appwrite by specifying a unique ID and name. Configure database settings including enabling or disabling user access while maintaining data integrity.
Instructions
Create a new Database.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. | |
| name | Yes | Database name. Max length: 128 chars. | |
| enabled | No | Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled. |