Add an action id to the door which you want to get removed.
Go into the folder actions, scripts and open the file door.xml
Then add a code like this:
if item.actionid == 123456789 then --123456789 change to your used action id
doRemoveItem(getTileItemById(fromPosition, 1111).uid, 1) --1111...