---
title: "POST /v1beta/{+parent}/defaultBucket"
method: POST
path: "/v1beta/{+parent}/defaultBucket"
tags: ["projects"]
---

# POST /v1beta/{+parent}/defaultBucket

`POST /v1beta/{+parent}/defaultBucket`

Creates a Spark tier-eligible Cloud Storage bucket and links it to your Firebase project. If the default bucket already exists, this method will re-link it to your Firebase project. See https://firebase.google.com/pricing for pricing details.

## Path parameters

- `parent` string, required

## Request body

- DefaultBucket — Spark tier-eligible Cloud Storage bucket. One per project. This resource exists if the underlying Cloud Storage bucket exists and it is linked to your Firebase project. See https://firebase.google.com/pricing for pricing details.
  - `name` string — Identifier. Resource name of the default bucket.
  - `storageClass` string — Immutable. Storage class of the default bucket. Supported values are available at https://cloud.google.com/storage/docs/storage-classes#classes.
  - `location` string — Immutable. Location of the default bucket.
  - `bucket` Bucket — A storage bucket and its relation to a parent Firebase project.
    - `name` string — Output only. Resource name of the bucket.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/firebasestorage.md) · [All operations](https://skmtc.dev/google/apis/firebasestorage/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/firebasestorage/revisions/cea605af09db/schema)
