This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Deletes a resource.
The deleteResource()
function returns a Promise that is resolved when a resource is deleted.
Deleting a resource updates its status to DELETED
.
You cannot delete a resource if it has booked sessions.
Notes:
"business"
. This resource is used for the business's schedule and working hours and cannot be deleted.This function requires elevated permissions and runs only on the backend and on dashboard pages.
ID of the resource to delete.