How to reset the password of a local account using the REST API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2022 06:20 AM
We have a local user, with Web service access only, that is used to create incidents in our instance using the ServiceNow REST API.
Due to security policies, we need to change the password for this user every 3 months.
An because the user has "Web service access only", we cannot login to our instance as the user to change the password.
We then thought that this could done, by resetting the password using the REST API.
But we can't get this to work, as the password value we set is seen in the user record XML exactly as we write it, without the hash encryption.
I have found these articles, but they did not help much:
- https://stackoverflow.com/questions/50833958/how-do-i-use-password-reset-rest-apis-on-service-now
- https://community.servicenow.com/community?id=community_question&sys_id=11b54321db1cdbc01dcaf3231f96191d
I think maybe it has to do with we not being able to chose our own passwords anymore, since we upgraded to San Diego:
Does anybody have an idea on how we could solve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2025 02:44 AM
Hi, did you find out? 🙂