Skip to content

Product Images — Delete ​

Removes a single product image — both the DB row and the file on storage.

Endpoint ​

EndpointMethod
/api/admin/catalog/products/{productId}/images/{id}DELETE

Path parameters ​

FieldTypeRequiredNotes
productIdintegeryesParent product ID.
idintegeryesImage ID — must belong to {productId}.

Response ​

200 OK

FieldTypeNotes
successbool
messagestring

Errors ​

HTTPCause
401 UnauthorizedMissing or invalid admin Bearer token.
403 ForbiddenAdmin role lacks catalog.products.edit.
404 Not FoundImage or its parent product not found.

Released under the MIT License.