POST

Bulk Delete Resources


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 multiple resources.

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
POST
https://www.wixapis.com/bookings/v2/bulk/resources/delete

Body Params
idsArray <string>Requiredformat GUIDmaxItems 50

The IDs of the resources to delete.

Response Object
resultsArray <BulkResourceResult>

The result of each resource removal.


bulkActionMetadataBulkActionMetadata

Delete statistics.

Bulk Delete Resources Example 1
Request
cURL
Title: Delete multiple resources.
Response
JSON
curl -X POST \ 'https://www.wixapis.com/bookings/v2/bulk/resources/delete' \ -H 'Authorization: <AUTH>' \ -d '{ "ids": [ "133b8ace-64c9-45c7-bb7e-e667f29a4e8c", "3cb4338c-3792-44ba-9259-c73c86b0cd89" ] }'
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?