DELETE

Delete Data Collection


Deletes a data collection.

Note: Once a collection is deleted, it can only be restored for limited amount of time.

Authentication

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

Permissions
Manage Data Collections
Manage All Data Resources
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/wix-data/v2/collections/{dataCollectionId=**}

Query Params
dataCollectionIdstringRequired

ID of the collection to delete.

Response Object
Returns an empty object.
Delete a collection
Request
cURL
curl -X DELETE \ 'https://www.wixapis.com/wix-data/v2/collections/my-first-collection' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>'
Response
JSON
{}
Errors

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

Did this help?