К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-tool-site-password-set.mdиндекс документации — /llms.txt

site_password_set

Обновлено

Create a named password for closed sections of the site, or change it: the same `name` takes the new password and signs out everyone who entered with the old one. `name`: lowercase letters, digits, - (`acme`, `course-2026`); `password`: 8-128 characters; `remember_days`: 1-365 (default 30), how long a visitor stays signed in on a device; `note`: up to 200 characters, who it is for (`Acme LLC, Ivan`), absent keeps it, null clears it. A rule names it in `site_gate_set` `any_of`: `{"kind":"password","password":"acme"}`; one password can serve many rules, and signing in once opens every section that accepts it. The platform keeps the password: no listing shows it, `site_password_reveal` reads it back when the owner needs it. Pass it to the audience yourself and keep it out of HTML, JS and bundle files. Up to 100 per business, on every plan. Returns `{password:{id,name,note,remember_days,changed_at,used_by_rules,sections},created,unprojected_hosts}`.

Права и условия

required_scopes: ALL.

ПолеЗначение
description"Create a named password for closed sections of the site, or change it: the same `name` takes the new password and signs out everyone who entered with the old one. `name`: lowercase letters, digits, - (`acme`, `course-2026`); `password`: 8-128 characters; `remember_days`: 1-365 (default 30), how long a visitor stays signed in on a device; `note`: up to 200 characters, who it is for (`Acme LLC, Ivan`), absent keeps it, null clears it. A rule names it in `site_gate_set` `any_of`: `{\"kind\":\"password\",\"password\":\"acme\"}`; one password can serve many rules, and signing in once opens every section that accepts it. The platform keeps the password: no listing shows it, `site_password_reveal` reads it back when the owner needs it. Pass it to the audience yourself and keep it out of HTML, JS and bundle files. Up to 100 per business, on every plan. Returns `{password:{id,name,note,remember_days,changed_at,used_by_rules,sections},created,unprojected_hosts}`."
domain"site"
name"site_password_set"
platform_version"42248466c94e00eec0d71429ed34a30fd211e9b0"
required_scopes["site:write"]
risk"write"
scope"site:write"
title"Site Password Set"

Входные параметры

site_password_set: inputSchema

Результат

site_password_set: outputSchema