---
title: "Create or update S3 storage configuration for backups."
method: POST
path: "/xrpc/place.stream.server.upsertStorage"
tags: ["place.stream.server"]
---

# Create or update S3 storage configuration for backups.

`POST /xrpc/place.stream.server.upsertStorage`

## Request body

- object
  - `url` string — S3 storage URL in format: s3+https://ACCESS_KEY:SECRET_KEY@endpoint/bucket
  - `isActive` boolean — Whether backup storage is currently active.

## Response `200`

Success

- object
  - `storage` PlaceStreamServerDefsStorage, required — S3 storage configuration for backups.
    - `url` string, required — S3 storage URL with masked secret key in format: s3+https://ACCESS_KEY:***@endpoint/bucket
    - `isActive` boolean, required — Whether backup storage is currently active.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/streamplace/apis/generated-lexicon-api-schema.md) · [All operations](https://skmtc.dev/streamplace/apis/generated-lexicon-api-schema/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/streamplace/generated-lexicon-api-schema/revisions/8e2ce7f5d85b/schema)
