Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Delete Category

Developer Preview

Deletes a category.

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

Permissions

This endpoint requires the Manage Bookings permission scope.

DELETE

https://www.wixapis.com/bookings/v1/categories/{id}

Path Params

NAME
TYPE
DESCRIPTION
id
Required

string

Category ID.

Body Params

NAME
TYPE
DESCRIPTION
deleteServices

boolean

Cascade delete all the services in this category. Defaults to false (when false, the services will still exist but will not be accessible in the Wix Business Manager).

Response Object

Returns an empty object.

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Delete Category

Delete a category by Id

Request

curl

Copy Code
1curl -X DELETE \
2 'https://www.wixapis.com/bookings/v1/categories/5c272c84-f9c2-4bbb-b55d-1b88c4597bfe' \
3 -H 'Authorization: <AUTH>'

Response

json

1
2{}