Reset User Password

post

/rest/v7/companies/{companyName}/users/{userName}/actions/resetPassword

This operation creates a temporary password and sends it to the user's email.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : user-resetPasswordRequest
Type: object
Show Source
  • Title: Password
    Password is required only for Services, Developer, and Guest Company users. Password is not required in the Request Body for all other users, such as Host Company or Partner Organization users.
Back to Top

Response

Supported Media Types

Default Response

No content. This task does not return elements in the response body.
Back to Top

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 - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v7/companies/{companyname}/users/AAP39{userName}/actions/resetPassword

Request Body Sample

{
   "password": "someString"
}
Back to Top