Protect link
protect_linkAdd capability-token and readable-secret protection to an owned link. Returns a share URL with #cap=... and a human-readable code, replacing existing credentials if already protected.
Instructions
Enable capability token and readable secret protection on an owned link. Returns the share URL (with #cap=...) and the human-readable secret code. If the link is already protected, this replaces the existing credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Optional duration (e.g. 24h, 3d, 7d). | |
| label | No | Label of the link to protect (optional; defaults to first active link). |