---
title: "POST /v1/{+parent}/databases"
method: POST
path: "/v1/{+parent}/databases"
tags: ["projects"]
---

# POST /v1/{+parent}/databases

`POST /v1/{+parent}/databases`

Creates a new database.

## Path parameters

- `parent` string, required

## Query parameters

- `databaseId` string

## Request body

- Database — Database is the container of tables.
  - `name` string — Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
  - `createTime` string, google-datetime — Output only. The creation time of the database.
  - `hiveOptions` HiveDatabaseOptions — Options of a Hive database.
    - `parameters` object — Stores user supplied Hive database parameters.
    - `locationUri` string — Cloud Storage folder URI where the database data is stored, starting with "gs://".
  - `deleteTime` string, google-datetime — Output only. The deletion time of the database. Only set after the database is deleted.
  - `expireTime` string, google-datetime — Output only. The time when this database is considered expired. Only set after the database is deleted.
  - `type` 'TYPE_UNSPECIFIED' | 'HIVE' — The database type.
  - `updateTime` string, google-datetime — Output only. The last modification time of the database.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/biglake.md) · [All operations](https://skmtc.net/google/apis/biglake/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/biglake/versions/808b7386b5c5/schema)
