StorageAssets
Batch delete assets
Deletes multiple assets and their corresponding files in the cloud provider.
DELETE
/v1/storage/assets/bulkDeletes multiple assets and their corresponding files in the cloud provider.
Authorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://example.com/v1/storage/assets/bulk" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "ids": [ "example" ] }'Empty