Endpoint for deleting IDs