Delete a category
delete_categoryPermanently remove a category; articles remain published and lose the category reference. Requires explicit user confirmation.
Instructions
Delete a category. Articles in this category are not deleted. Their category_id becomes null, so they stay published and simply lose their category. Removing a category never removes content. PERMANENT: this deletes content from the customer's Site. There is no trash and no undo. Ask the user before calling this, and pass confirm: true only once they have agreed. Needs a secret key (wv_sk_) carrying the taxonomy:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A UUID. | |
| confirm | No | Set to true only after the user has explicitly agreed to this action. Calling without it returns a description of what would happen and changes nothing. |