|
deleteCategory |
|
Description
Deletes the specified category from a blog.
Syntax
bw.deleteCategory(blog_id, username, password, cat_id [,force_delete=false])
Request Fields
| • | blog_id - The ID of the blog from which you want to delete the category. |
| • | username - Your reseller account username. |
| • | password - Your reseller account password. |
| • | cat_id - The ID of the category that you want to delete. cat_id (category id) can be retrieved using bw.getCategories. |
| • | force_delete - An optional boolean argument that is by default false. If the category contains articles or email shortcuts then the deletion will fail unless force_delete is true. Categories that are parents of child categories may not be deleted until the descendants are deleted. |
Response Fields
Returns TRUE on success.