Skip to main content

Method

DELETE /v1/products/:id/media

Path Parameters

uuid
required
Product ID.

Query Parameters

string
Media ID to delete.
string
Gallery asset ID to delete.
string
Media URL to delete.
You may also send these identifiers in the JSON request body. At least one identifier is required.

Headers

string
Bearer token (requires products:write).
string
application/json (optional if using query parameters).

Request Example

Response Example

The API validates workspace ownership before deletion (ProductOwnershipError). Ensure the media item belongs to the requesting workspace.