This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Deletes a category.
You can specify {"deleteServices": true}
to also delete all associated
services. Learn more about deleting a service
(SDK | REST).
You can only call this method when authenticated as a Wix app or Wix user identity.
ID of the category to delete.
Whether to delete all the services associated with the category.
Default: false
ID of the deleted category.
Delete a category by ID
curl -X DELETE \
'https://www.wixapis.com/bookings/v1/categories/5c272c84-f9c2-4bbb-b55d-1b88c4597bfe' \
-H 'Authorization: <AUTH>'
{}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.