---
title: "Store object in S3 based on valid token and Partition approach"
method: PUT
path: "/object"
tags: ["APIs"]
---

# Store object in S3 based on valid token and Partition approach

`PUT /object`

## Query parameters

- `partition` 'bucket' | 'prefix' | 'tag' | 'access_point' | 'db_nosql', required

## Headers

- `x-token` string, uuid, required

## Response `201`

Successful operation

## Other responses

- `400` — Bad Request
- `401` — Missing or invalid token
- `500` — Server error
- `502` — Service Unavailable
- `default` — unexpected error

---

[API](https://skmtc.dev/aws-samples/apis/data-partitioning-using-s3.md) · [All operations](https://skmtc.dev/aws-samples/apis/data-partitioning-using-s3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/data-partitioning-using-s3/revisions/039b1dc6cd0e/schema)
