<｜begin▁of▁sentence｜>### Instruction:
As a salesperson, you're working with a customer who needs to remove a specific product from their inventory in an online platform using an API. How would you create the corresponding Python object for removing the product with the identifier 'product_42' from the inventory using the inventory management API?
### Response:
import json

# Function to generate the delete node event for Gephi Graph Streaming API
def generate_delete_node_event(node_id):
    event = {'an': node_id, 'action': 'deleteNode'}
    return json.dumps(event)

# Example usage
deleted_node_event = generate_delete_node_event('node_42')
print(deleted_node_event)
<|EOT|>
