This command, as the name would suggest, removes the specified item from your inventory. If an amount is specified, it will remove that amount of the item.
player.removeitem [item code] [amount]
|Item Code||The code of the item you wish to remove from your inventory.|
|Amount||The amount of the specified item you wish to remove from your inventory.|