Hanzo
OpenapiCloudflare

Creates a D1 database on the org's Cloudflare account.

Creates a D1 database on the org's Cloudflare account.

POST /v1/cloudflare/d1/databases

Addresshttps://api.hanzo.ai/v1/cloudflare/d1/databases
MethodPOST
Operationpost_cloudflare_d1_databases
AuthAuthorization: Bearer $HANZO_API_KEY

Creates a D1 database on the org's Cloudflare account. Requires org admin.

Request

1 field, body application/json (required).

FieldInTypeRequiredDescription
namebodystringName is the database name to create.

Response

StatusBodyMeaning
200ok

200 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyanyyes

Failure carries the platform error shape — see Errors.

Examples

hanzo cloudflare d1 databases create

Cloudflare API · All Hanzo APIs · Interactive reference

How is this guide?

On this page