Protect link
protect_linkEnable capability token and readable secret protection on an owned link (Pro plan required). Returns a share URL that carries the capability; anyone holding that URL can view the link. A viewer secret code is also set, but it is shown only in the serve console, never here. If ttl is omitted, protection lasts 24 hours. Calling this on an already-protected link replaces the existing credentials, so previous share URLs stop working. To rotate credentials instead, use renew_link; to invalidate them without minting new ones, use revoke_link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Optional TTL duration (e.g. 24h, 7d); defaults to 24 hours. | |
| label | Yes | Label of the link to protect. |