Delete category
delete_categoryDeletes a Skool feed category and moves its posts to another category, so admins can remove categories without losing content.
Instructions
Delete a feed category and move its posts to another. Admins only.
Deletes a category, as Settings, Categories, Delete does. Its posts are not deleted: Skool moves them to move_posts_to, or to the group's first other category. A group keeps at least one category. Admins only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | Group URL name, e.g. 'yourgroup' for skool.com/yourgroup. | |
| category_id | Yes | category_id from list_categories. | |
| move_posts_to | No | category_id that gets the deleted category's posts. Default: the first other one. |