---
title: "Set an array of valid stream keys"
method: POST
path: "/admin/config/streamkeys"
tags: ["Internal", "Admin"]
---

# Set an array of valid stream keys

`POST /admin/config/streamkeys`

## Request body

- object
  - `value` StreamKey[]
    - `key` string
    - `comment` string

## Response `200`

Stream keys have been 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)
