Unpublish a post
unpublish_postHide a post from your public site by setting its status back to draft. Reverts publication and removes it from view.
Instructions
Sets a post's status back to draft, taking it off the public site. Shorthand for update_post({ status: 'draft' }). Requires the posts:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | PocketBase record ID of the post to unpublish. |