---
title: "Update recording config"
method: PUT
path: "/1/videos/{channel}/options/recording"
tags: ["Option > Record"]
---

# Update recording config

`PUT /1/videos/{channel}/options/recording`

This endpoint allows you to retrieve to update a Recording config.

## Path parameters

- `channel` integer, required

## Query parameters

- `account_id` integer, required — Account identifier

## Request body

- object
  - `auto_record` boolean — Indicates whether the recording starts automatically when the stream begins.

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` A57c9d69RecordingConfig
    - `recording_config_id` integer, required — Unique identifier of the `recording config` that is related to the resource `RecordingConfig`
    - `auto_record` boolean, required
    - `storage_machines` string, required
    - `instant_record` string

## Other responses

- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/158a854b0c7d/schema)
