Reset User Password
post
/rest/v19/companies/{companyName}/users/{userName}/actions/resetPassword
This operation creates a temporary password and sends it to the user's email.
Request
Supported Media Types
- application/json
Path Parameters
-
companyName(required): string
Company login name. For Host Company users, use _host. For Partner Organization users, use partner organization company login name.
-
userName(required): string
Login Id of the user
Root Schema : Reset Password Request
Type:
object
Title:
Reset Password Request
Reset Password Request
Show Source
-
password:
string
Title:
Password
Password to Reset
Response
Supported Media Types
- application/json
200 Response
Reset password action is successful.
Examples
The following example shows how to create a temporary password and sends it to the user’s email by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/companies/_host/users/AAP39/actions/resetPassword