Neon · Schema

DatabaseCreateRequest

Request body for creating a new database

DatabasesServerlessPostgresInfrastructureAuthenticationEdge

Properties

Name Type Description
database object
View JSON Schema on GitHub

JSON Schema

neon-databasecreaterequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DatabaseCreateRequest",
  "title": "DatabaseCreateRequest",
  "type": "object",
  "description": "Request body for creating a new database",
  "required": [
    "database"
  ],
  "properties": {
    "database": {
      "type": "object",
      "required": [
        "name",
        "owner_name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "The database name"
        },
        "owner_name": {
          "type": "string",
          "description": "The name of the role that will own this database"
        }
      }
    }
  }
}