deleteCategory( )


Deprecated

This method is deprecated.

Deletes a category.

You can specify {"deleteServices": true} to also delete all associated services. Learn more about deleting a service.

Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the category to delete.


optionsDeleteCategoryOptions
Returns
Return Type:Promise<DeleteCategoryResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?