Skip to navigation

Delete multiple images by IDs

View as Markdown

Deletes multiple images metadata for the specified chain in a single request. Each imageId is an MD5 hash (32 character hex string). The operation returns which images were successfully deleted and which were not found.

The physical image files are only deleted when there are no metadata records left across ALL chains for the customer.

Example Request:

DELETE /images/v1/chain/1?ids=7af0a3950a162be27488d0c1f292f9ab,b1234567890abcdef1234567890abcde

Example Response:

{
"deletedIds": ["7af0a3950a162be27488d0c1f292f9ab"],
"notFoundIds": ["b1234567890abcdef1234567890abcde"]
}

Path parameters

chainintegerRequired
The ID of the chain

Query parameters

idsstringRequired

Comma-separated list of image IDs to delete (e.g., “id1,id2,id3”)

Response

Bulk deletion processed. Response contains deletedIds and notFoundIds arrays.

Errors

400
Bad Request Error