Added tenantId support to all history REST calls