DELETE

Delete Booking Policy


Deletes a booking policy.

You can't delete the default policy without first setting a different policy as default (SDK | REST).

Authentication

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

Permissions
Manage Bookings Services and Settings
Manage Bookings - all permissions
Manage Bookings
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/bookings/v1/booking-policies/{bookingPolicyId}

Path Params
bookingPolicyIdstringRequired

ID of the booking policy to delete.

Response Object
Returns an empty object.
Delete a `bookingPolicy` object.
Request
cURL
Response
JSON
Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

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