---
title: "POST /b/{bucket}/o"
method: POST
path: "/b/{bucket}/o"
tags: ["objects"]
---

# POST /b/{bucket}/o

`POST /b/{bucket}/o`

Stores a new object and metadata.

## Path parameters

- `bucket` string, required

## Query parameters

- `contentEncoding` string
- `ifGenerationMatch` string
- `ifGenerationNotMatch` string
- `ifMetagenerationMatch` string
- `ifMetagenerationNotMatch` string
- `kmsKeyName` string
- `name` string
- `predefinedAcl` 'authenticatedRead' | 'bucketOwnerFullControl' | 'bucketOwnerRead' | 'private' | 'projectPrivate' | 'publicRead'
- `projection` 'full' | 'noAcl'
- `userProject` string

## Response `200`

Successful response

---

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