Hi everybody,
I am looking for a way to deactivate a user from a Bitbucket Server app. In Jira I would know how to do it:
- retrieving the user
- Creating an ImmutableUser object (from embedded crowd)based on the existing user
- setting the activated flag to false
- Updating the user with the UserManager
But the updateUser method from BitBucket Usermanager does not accept a user object. Does the BitBucket SDK provide a different method, which allows deactivating users from the code?
Regards,
Alexander