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. |
player.removeItem 000e6b2e
This command would remove one Mini Nuke from your character's inventory (because Mini Nuke's ID is 000e6b2e).
player.removeItem 0001f278 44
5.56mm Ammo has the ID 0001f278, so this command would remove 44 5.56mm bullets from your character's inventory.