POST

Bulk Delete Content


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 translation content items.

Authentication

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

Permissions
Wix Multilingual - Write Translation Content
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/translation-content/v1/bulk/contents/delete

Body Params
contentIdsArray <string>RequiredminItems 1maxItems 100format GUID

IDs of the translation content items to delete.

Response Object
resultsArray <BulkContentResult>minItems 1maxItems 100

Items created by bulk action.


bulkActionMetadataBulkActionMetadata

Bulk action metadata.

Bulk Delete Content
Request
cURL
curl -X POST \ 'https://www.wixapis.com/translation-content/v1/bulk/contents/delete' \ -H 'Authorization: <AUTH>' \ -H 'Content-Type: application/json' \ --data-binary '{ "contentIds": [ "3fe09f99-c64d-4205-a9a3-9a112550f4de", "b0da7456-a7b0-4967-be36-d31e32ccec73", "f93c2237-b749-43d0-a043-972e8c738d02", "39636d44-ff62-4de4-8068-43efb2561bbf", "b27f10ac-b451-4fde-ae88-76b91bca69a0" ] }'
Response
JSON
{ "results": [ { "itemMetadata": { "id": "3fe09f99-c64d-4205-a9a3-9a112550f4de", "originalIndex": 0, "success": true }, { "itemMetadata": { "id": "b0da7456-a7b0-4967-be36-d31e32ccec73", "originalIndex": 1, "success": true }, "itemMetadata": { "id": "f93c2237-b749-43d0-a043-972e8c738d02", "originalIndex": 2, "success": true }, { "itemMetadata": { "id": "39636d44-ff62-4de4-8068-43efb2561bbf", "originalIndex": 3, "success": true }, "itemMetadata": { "id": "b27f10ac-b451-4fde-ae88-76b91bca69a0", "originalIndex": 4, "success": true }, ], "bulkActionMetadata": { "totalSuccesses": 5, "totalFailures": 0, "undetailedFailures": 0 } }
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?