akb_unpublish
Remove a publication by slug, or by URI to clear all linked to a resource, useful when re-publishing. Returns deleted count.
Instructions
Remove publication(s). Pass slug to remove one specific publication, OR uri to remove every publication of that document/file resource (handy when re-publishing). table_query publications have no resource URI, so remove them by slug. Returns {deleted: N}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | Document or file URI — remove every publication tied to that resource. | |
| slug | No | Publication slug — remove exactly this publication. |