---
title: "Revert channel models to a previous date"
method: PUT
path: "/1/vod/channel/{channel}/user-activity-log"
tags: ["V2 > UserActivity"]
---

# Revert channel models to a previous date

`PUT /1/vod/channel/{channel}/user-activity-log`

Revert channel models to a previous date

## Path parameters

- `channel` integer, required

## Request body

- object
  - `slug` string
  - `name` string, required
  - `description` string
  - `auto_empty_trash_value` integer
  - `auto_empty_trash_unit` '"day"' | '"hour"' | '"month"' | '"year"' — <br/>This field must be present and not empty only if any of the following fields are present:`auto_empty_trash`
  - `notes` string

## Response `200`

Default response

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` boolean

---

[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)
