akb_unpublish
Remove a specific publication by slug or all publications tied to a document/file URI. Useful for clearing publications before re-publishing.
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 |
|---|---|---|---|
| slug | No | Publication slug — remove exactly this publication. | |
| uri | No | Document or file URI — remove every publication tied to that resource. |