Deactivate a link
deactivate_linkDeactivates a deep link by slug so every tap shows a "link not found" page instead of the app or website, while keeping analytics history; requires confirm: true or returns a preview.
Instructions
Write. Turns a link off: afterwards every tap on it gets the "link not found" page instead of the app, store or website. Its history stays in analytics, and it can be turned back on with update_link with isActive: true. This needs confirm: true; without it nothing changes and you get a preview of the link to show the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The link's slug: the part after the link domain, e.g. `summer` in https://hilltop.strait.link/summer | |
| confirm | No | true to deactivate; omit or false to preview |