Object Storage Buckets

Create object storage bucket

Create a new object storage bucket with an initial key.

post/buckets

Request

  • Base URL
    https://cloud.laravel.com/api
  • Auth
    HTTP bearer

Request body

namestring required
visibility'private' | 'public' required
jurisdiction'default' | 'eu' | 'us' required
location_hint'automatic' | 'wnam' | 'enam' | 'weur' | 'eeur' | 'apac' | 'oc'

Where Cloudflare should place an R2 bucket's data. Automatic lets Cloudflare choose, which it does from the caller's location rather than the customer's.

allowed_originsstring[] nullable

This field is deprecated and will be removed May 17th, 2026. Please use cors_settings.allowed_origins instead.

key_namestring required
key_permission'read_write' | 'read_only' required

Response

FilesystemResource

Changes

No recorded changes to this operation across all 1 revision of this API.