Buckets

Create a bucket on the branch

Changed on

Creates a new branchable object storage bucket on the specified branch. Buckets are managed by the Neon Platform branchable object storage service.

Note: This endpoint is currently in Beta.

post/projects/{project_id}/branches/{branch_id}/buckets

Request

  • Base URL: https://console.neon.tech/api/v2
  • URL: https://console.neon.tech/api/v2/projects/{project_id}/branches/{branch_id}/buckets
  • Auth: one of:
    • HTTP bearer
    • API key in cookie zenith
    • API key in cookie keycloak_token

Request body

namestring required

The bucket name.

access_level'private' | 'public_read'

Access level for the bucket. Defaults to private. Set to public_read to allow anonymous GetObject/HeadObject on objects in this bucket.

Response

Bucket created

Changes