<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Set New Passwords for Users without Verification via API
Lifecycle Management
Okta Classic Engine
Okta Identity Engine
Overview

The Okta Users API can be used to set passwords for an Okta user. The user will not be prompted to update the password and this will also not change the user's status.

Applies To
  • Users API
  • User Lifecycle Management
Solution

The following API call (POST request) can be used to set a password for a user.

POST: {{url}}/api/v1/users/{{userId}}

with the following body

{
  "credentials": {
    "password" : { "value": "password" }
  }
}


NOTE: The above example assumes that Postman is used to make this API call with the {{url}} and {{userId}} variables set. If making this API call using a different API client or otherwise do not have these variables set, please set these variables or change this information. {{url}} represents the URL of the Okta org (https://example.okta.com) while {{userId}} should represent the user ID of the Okta user that needs to update the password. With this in mind, a complete Okta API call to this endpoint would resemble the following:

POST https://example.okta.com/api/v1/users/00ueajxzfrkn7bFw5107

A link to the complete Users API documentation is available below for reference.

 

Related References

Loading
Set New Passwords for Users without Verification via API