Docs for /api/users/update is out-of-date

sonarqube

(Magicsong) #1

The content of api/users/update is
Update a user. If a deactivated user account exists with the given login, it will be reactivated. Requires Administer System permission

But actually it cannot reactivate a user. deactivated user must be recreated and deactivate is equal to delete.


(Julien Lancelot) #2

Hi,

Thanks for this feedback, you’re right !
I’ve created a ticket to fix it : https://jira.sonarsource.com/browse/SONAR-11519

Regards,
Julien Lancelot