Hanzo
OpenapiCloudflare

Deletes a D1 database and everything stored in it.

Deletes a D1 database and everything stored in it.

DELETE /v1/cloudflare/d1/databases/{database}

Addresshttps://api.hanzo.ai/v1/cloudflare/d1/databases/{database}
MethodDELETE
Operationdelete_cloudflare_d1_databases_by_database
AuthAuthorization: Bearer $HANZO_API_KEY

Deletes a D1 database and everything stored in it. Requires org admin.

Request

1 field.

FieldInTypeRequiredDescription
databasepathstringyesDatabase is the Cloudflare D1 database id or name.

Response

StatusBodyMeaning
200ok

200 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyanyyes

Failure carries the platform error shape — see Errors.

Examples

hanzo cloudflare d1 databases rm <database>

Cloudflare API · All Hanzo APIs · Interactive reference

How is this guide?

On this page