Presumably before you started hosting you checked your lease to see if you are allowed to carry out STR in your apartment block? @Phillip247
If so just confirm to the manager that there is nothing in your lease that precludes this.
If you didn’t do this and your lease excludes STRs you will need to stop.
How did the building manager know? Were there complaints about your guests??