It is currently not possible to deactivate users.
To delete users you can run the "Delete multiple users at once using their externalId" request.
The user then no longer has access to files and contents of the app.
Users will lose all content in the app. This content cannot be restored. To restore users without content, they can be added to the app again with the "Create or update multiple users at once" request.