Added validation to tenant REST APIs