Users can be deactivated and reactivated using the User API. The following FusionAuth documentation outlines deactivation (or soft-delete) and reactivation:

Delete A User (soft-delete them, don't hard delete them)

Reactivate a User

HTH