Create or revoke a private publication link
private_share_linkaction="create" issues or rotates a private bearer link for one account or strategy publication; a new link gets a generated password returned once unless password or noPassword: true is passed. action="revoke" invalidates it immediately.
Set "action" to choose the operation. Only send the fields listed for that action.
action="create": Create or rotate a private account or strategy link
Required fields: publicationId. Issues a high-entropy bearer link for one explicit publication. The full secret is returned only once. Anyone with the link can forward it; use private_share_link(action="revoke") to invalidate it. A brand-new link is password protected by default: when no password is passed, BotSpot generates a strong one, builds it into the returned link as #pwd=, and returns it once (it is stored only as a hash and cannot be shown again). Pass password to choose it, or noPassword: true to share with no password. password: null also removes a password, which issues a new link. Rotating a live link that has a password issues a fresh one, built into the new link.
action="revoke": Revoke a private account or strategy link
Required fields: publicationId. Immediately invalidates the bearer link for exactly one owner publication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Which operation to run: "create", "revoke". See the tool description for each one. | |
| rotate | No | Invalidate the prior token and issue a new one. Used with action="create". | |
| password | No | Optional password, 8 to 128 characters. Omit it to get a generated one on a new link. null removes the password. Used with action="create". | |
| expiresAt | No | Optional ISO-8601 expiration. Must be in the future. Used with action="create". | |
| noPassword | No | true shares the link with no password instead of generating one. Used with action="create". | |
| publicationId | No | Used with action="create", action="revoke". Required for action="create", action="revoke". | |
| recipientEmail | No | Restrict access to one authenticated existing BotSpot user. Used with action="create". |