# site\_password\_set

Source: <https://telegafirst.com/docs/mcp-tool-site-password-set>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: fbf3c29d20d4ffc8543c28e89e7c567ca64e3210f74ff8b4c1ea74b76ecabd76
Version: 9

# 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 | "1.0.34" |
| required\_scopes | \["site:write"] |
| risk | "write" |
| scope | "site:write" |
| title | "Site Password Set" |

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

[site\_password\_set: inputSchema](https://telegafirst.com/docs/schema-b76f5a48a373a4244dd01100220aec4995ca72dffdbe217ecd5b99dcbe977818)

## Результат

[site\_password\_set: outputSchema](https://telegafirst.com/docs/schema-9115d05b68fdb3027e64c402267cd196201cc7ef89bab834c66bf39d8446d503)
