---
title: "update restriction password"
method: PUT
path: "/1/videos/{channel}/restrictions/password"
tags: ["Restrictions"]
---

# update restriction password

`PUT /1/videos/{channel}/restrictions/password`

This endpoint allows you to update a restriction password channel.

## Path parameters

- `channel` integer, required

## Query parameters

- `account_id` integer, required — Account identifier

## Request body

- object
  - `pass_stream` string, required — a strict string (no HTML/PHP tags or HTML entities allowed)
  - `password` string, required

## Response `200`

OK

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

---

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