delete_interest_category
Delete an entire interest category and all its options from a Mailchimp audience. Removes subscriber associations with those interests without affecting subscribers.
Instructions
Delete an interest category and all its interest options at once.
Removes the entire category with all its options. All subscriber associations with interests in this category are removed. Subscribers themselves are not affected. Use delete_interest instead to remove a single option while keeping the category. Use list_interest_categories to find category IDs.
Args: list_id: The Mailchimp audience/list ID (e.g. 'abc123def4'). Obtain from list_audiences. category_id: The interest category ID to delete. Obtain from list_interest_categories.
Returns: JSON with fields: status ("deleted"), category_id. Returns error if category does not exist.
Example: delete_interest_category(list_id="abc123", category_id="cat456") -> {"status": "deleted", "category_id": "cat456"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| list_id | Yes | ||
| category_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |