# REST-API: Artikelbild löschen

**URL:** https://forum.shopware.com/t/rest-api-artikelbild-loschen/9414
**Category:** Shopware 3.5
**Tags:** programming
**Created:** [25. Oktober 2012 um 08:55 UTC](https://forum.shopware.com/t/rest-api-artikelbild-loschen/9414 "2012-10-25T08:55:06Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![fgits](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fgits](https://forum.shopware.com/u/fgits)
#### Post date: [21. August 2013 um 11:55 UTC](https://forum.shopware.com/t/rest-api-artikelbild-loschen/9414/3 "2013-08-21T11:55:51Z")

</div>

Wie ist hier der aktuelle Stand? Ich habe durch einen entsprechenden API-Call die Mediendaten der Artikelbilder gelöscht `DELETE /media/{id}`. Die Bilder sind nun aus der Medienbibliothek entfernt. Anschließend schreibe ich per `PUT /article/{id}` ein komplett neues Bilder-Array in den Artikel. Leider sind jedoch die alten Bilder zumindest noch zugeordnet. Wenn auch nicht vorhanden.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/582386da78900dfea993b0f448d33dbc2327ffad.png) Wie kann ich das Problem umgehen und die Bilder KOMPLETT aus dem Artikel entfernen um dann neue hinzuzufügen?

---

_[View the full topic](https://forum.shopware.com/t/rest-api-artikelbild-loschen/9414)._
