---
title: "Update the current Restreamer configuration"
method: PUT
path: "/api/v3/config"
tags: ["v16.7.2"]
---

# Update the current Restreamer configuration

`PUT /api/v3/config`

Update the current Restreamer configuration by providing a complete or partial configuration. Fields that are not provided will not be changed.

## Request body

- ApiSetConfig
  - `address` string
  - `api` object
    - `access` object
      - `http` object
        - `allow` string[]
        - `block` string[]
      - `https` object
        - `allow` string[]
        - `block` string[]
    - `auth` object
      - `auth0` object
        - `enable` boolean
        - `tenants` ValueAuth0Tenant[]
          - `audience` string
          - `clientid` string
          - `domain` string
          - `users` string[]
      - `disable_localhost` boolean
      - `enable` boolean
      - `jwt` object
        - `secret` string
      - `password` string
      - `username` string
    - `read_only` boolean
  - `created_at` string — When this config has been persisted
  - `db` object
    - `dir` string
  - `debug` object
    - `force_gc` integer
    - `memory_limit_mbytes` integer
    - `profiling` boolean
  - `ffmpeg` object
    - `access` object
      - `input` object
        - `allow` string[]
        - `block` string[]
      - `output` object
        - `allow` string[]
        - `block` string[]
    - `binary` string
    - `log` object
      - `max_history` integer
      - `max_lines` integer
    - `max_processes` integer
  - `host` object
    - `auto` boolean
    - `name` string[]
  - `id` string
  - `log` object
    - `level` 'debug' | 'info' | 'warn' | 'error' | 'silent'
    - `max_lines` integer
    - `topics` string[]
  - `metrics` object
    - `enable` boolean
    - `enable_prometheus` boolean
    - `interval_sec` integer — seconds
    - `range_sec` integer — seconds
  - `name` string
  - `playout` object
    - `enable` boolean
    - `max_port` integer
    - `min_port` integer
  - `router` object
    - `blocked_prefixes` string[]
    - `routes` object
    - `ui_path` string
  - `rtmp` object
    - `address` string
    - `address_tls` string
    - `app` string
    - `enable` boolean
    - `enable_tls` boolean
    - `token` string
  - `service` object
    - `enable` boolean
    - `token` string
    - `url` string
  - `sessions` object
    - `enable` boolean
    - `ip_ignorelist` string[]
    - `max_bitrate_mbit` integer
    - `max_sessions` integer
    - `persist` boolean
    - `persist_interval_sec` integer
    - `session_timeout_sec` integer
  - `srt` object
    - `address` string
    - `enable` boolean
    - `log` object
      - `enable` boolean
      - `topics` string[]
    - `passphrase` string
    - `token` string
  - `storage` object
    - `cors` object
      - `origins` string[]
    - `disk` object
      - `cache` object
        - `enable` boolean
        - `max_file_size_mbytes` integer
        - `max_size_mbytes` integer
        - `ttl_seconds` integer
        - `types` object
          - `allow` string[]
          - `block` string[]
      - `dir` string
      - `max_size_mbytes` integer
    - `memory` object
      - `auth` object
        - `enable` boolean
        - `password` string
        - `username` string
      - `max_size_mbytes` integer
      - `purge` boolean
    - `mimetypes_file` string
    - `s3` ValueS3Storage[]
      - `access_key_id` string
      - `auth` ValueS3StorageAuth
        - `enable` boolean
        - `password` string
        - `username` string
      - `bucket` string
      - `endpoint` string
      - `mountpoint` string
      - `name` string
      - `region` string
      - `secret_access_key` string
      - `use_ssl` boolean
  - `tls` object
    - `address` string
    - `auto` boolean
    - `cert_file` string
    - `email` string
    - `enable` boolean
    - `key_file` string
  - `update_check` boolean
  - `version` integer

## Response `200`

OK

- string

## Other responses

- `400` — Bad Request
- `409` — Conflict

---

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