security-protect-item-by-path
Secure Sitecore content items by specifying their path to apply protection settings and restrict unauthorized access.
Instructions
Protect a Sitecore item by its path.
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": {
"path": "<path>"
},
"name": "security-protect-item-by-path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path of the item to protect (e.g. /sitecore/content/Home) | |
| passThru | No | If set to true, passes the processed object back to the pipeline | |
| database | No | The database containing the item (defaults to the context database) |