Remove useless attribut in ApiTask