Make private
make_privateConverts a public publication into a private one, detaching any custom domain and breaking the public link while returning a new private link. Use it to restrict access to published content.
Instructions
Make a public publication private: it gets a new private link and the public link stops working; a custom domain on it is detached. One-way. Returns the new link, namespace and id, plus a new management link when the publication had one; the owner token stays the same.
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": {
"type": "<type>",
"namespace": "<namespace>",
"id": "<id>"
},
"name": "make_private"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Publication ID | |
| type | Yes | Publication type | |
| namespace | Yes | Publication namespace; only `public` publications can be made private | |
| ownerToken | No | Owner token from create. Default: env BREWPAGE_OWNER_TOKEN (local server only). |