update_link
Modify existing short links by updating target URLs, adjusting status, or setting expiration dates. Disable links to stop redirects while preserving QR codes.
Instructions
Update a short link — change target URL, status, or expiration. Set status to "disabled" to deactivate without deleting. The QR code continues to work but redirects will stop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | Yes | The short link ID or code to update | |
| target_url | No | New target URL | |
| status | No | Link status | |
| expires_at | No | Expiration date (ISO 8601) or null to remove expiry | |
| folder_id | No | Folder ID or null to remove from folder |