Skip to main content

Uploading

Both routes take multipart/form-data and answer 201 Created. Single upload returns one asset in data; bulk upload returns an array.

Trash, then delete

Removing assets is a two-step flow, and both steps take the same body:
1

Trash

POST /api/v1/assets/bulk-trash moves the assets to the trash. Answers 204 No Content.
2

Delete permanently

DELETE /api/v1/assets/bulk-permanent removes them for good. Answers 204 No Content.
Permanent deletion cannot be undone. Note that it is a DELETE request with a JSON body: make sure your HTTP client sends the body and the Content-Type: application/json header.