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

# Update a timeshift config

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

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

## Path parameters

- `channel` integer, required

## Query parameters

- `account_id` integer, required — Account identifier

## Request body

- object
  - `enabled` boolean — Specify a limit before the interruption of live events in case of overrun
  - `record_window_duration` integer — Define how far your viewers can go back (max.: 240 minutes)

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` A57c9d69TimeshiftConfig
    - `dvr_option_id` integer, required
    - `record_window_duration` integer, required — Define how far your viewers can go back (max.: 240 minutes)
    - `enabled` boolean, required — Activating the Timeshift
    - `recorder` 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/667aae28fec6/schema)
