Hanzo
OpenapiCloudflare

Creates an R2 bucket on the org's Cloudflare account.

Creates an R2 bucket on the org's Cloudflare account.

POST /v1/cloudflare/r2/buckets

Addresshttps://api.hanzo.ai/v1/cloudflare/r2/buckets
MethodPOST
Operationpost_cloudflare_r2_buckets
AuthAuthorization: Bearer $HANZO_API_KEY

Creates an R2 bucket on the org's Cloudflare account. Requires org admin.

Request

1 field, body application/json (required).

FieldInTypeRequiredDescription
namebodystringName is the bucket name to create.

Response

StatusBodyMeaning
200ok

200 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyanyyes

Failure carries the platform error shape — see Errors.

Examples

hanzo cloudflare r2 buckets create

Cloudflare API · All Hanzo APIs · Interactive reference

How is this guide?

On this page