Sign in

Delete product media

documented

Delete a media entry for a product.

DELETE /rest/{store_code}/V1/products/{sku}/media/{media_id}Catalogno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{MAGENTO_BASE_URL}}/rest/{{store_code}}/V1/products/{{$sku}}/media/{{$media_id}}" \
  -X DELETE \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"