Skip to content

Product Videos — Delete ​

Deletes the DB row and removes the file from public storage. Also available over GraphQL as deleteAdminCatalogProductVideo.

Endpoint ​

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

Path parameters ​

ParameterTypeNotes
productIdintegerParent product ID.
idintegerVideo ID (must belong to the product).

Response ​

200 OK — { id, success, message }.

Errors ​

HTTPCause
401 UnauthorizedMissing or invalid admin Bearer token.
403 ForbiddenAdmin role lacks catalog.products.edit.
404 Not FoundVideo (or its parent product) not found, or the video does not belong to the product.

Released under the MIT License.