sanity_unpublish
Unpublish a document by moving it to the drafts namespace. Requires a write token to execute.
Instructions
Unpublish a document (moves to drafts.*). Requires write token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The published document ID |