Update share settings
beecargo_update_share_settingsAdjust sharing settings for owned files: set visibility, enable direct downloads, configure retention or expiry, and manage protection.
Instructions
Change visibility, direct download, and retention on an owned file. Requires API key. Pro defaults to keeping files while subscribed; set expiresAt to any future ISO date within 90 days for automatic deletion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direct | No | Pro: auto-download on /d link | |
| fileId | Yes | File id from upload response (`data.id`), not a UUID | |
| protect | No | When true, mint a download unlock code and delivery link (returned once). When false, clear protection. | |
| expiresAt | No | ISO expiry when retention is ttl | |
| extendTtl | No | Additive TTL preset like 24h or 7d (mutually exclusive with expiresAt/ttl) | |
| immutable | No | ||
| retention | No | ||
| visibility | No | ||
| handoffMessage | No | Optional note shown on the delivery magic link (/h/…). Returned once with handoffUrl when protect is true. | |
| idempotencyKey | No | Optional Idempotency-Key for safe write retries | |
| upstreamFileIds | No |