---
title: "Update S3 configuration"
method: POST
path: "/admin/config/s3"
tags: ["Internal", "Admin", "Video"]
---

# Update S3 configuration

`POST /admin/config/s3`

## Request body

- object
  - `value` S3Info
    - `endpoint` string
    - `accessKey` string
    - `secret` string
    - `bucket` string
    - `region` string
    - `acl` string
    - `pathPrefix` string
    - `enabled` boolean
    - `forcePathStyle` boolean

## Response `200`

Directory Enabled updated

- BaseAPIResponse — Simple API response
  - `message` string
  - `success` boolean

## Other responses

- `400` — Bad request
- `401` — Basic auth failure
- `default` — Unexpected error

---

[API](https://skmtc.net/owncast/apis/owncast-apis.md) · [All operations](https://skmtc.net/owncast/apis/owncast-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/owncast/owncast-apis/versions/dc1c42f7f8f6/schema)
