Set password protection
set_password_protectionTurn a site's password on or off, or change it. A temporary site can only change or remove a password it already has, with its claimToken.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"enabled": "<enabled>"
},
"name": "set_password_protection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| enabled | Yes | ||
| password | No | ||
| claimToken | No | ||
| accessDurationSeconds | No |