DELETE

Delete Category


Developer Preview

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).

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Bookings - all permissions
Manage Bookings
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/bookings/v1/categories/{id}

Path Params
idstringRequired

ID of the category to delete.

Query Params
deleteServicesboolean

Whether to delete all the services associated with the category.

Default: false

Response Object
idstringformat GUID

ID of the deleted category.

Delete Category

Delete a category by ID

Request
cURL
Response
JSON
Errors

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

Event TriggersThis method triggers the following events:
Did this help?