sendPasswordReset

post

/ccadmin/v1/adminProfiles/sendPasswordReset

Send Password Reset. Validate the reset token or set a user's new password. Send just the op and token to validate; send all of the values to reset the password.

Request

Supported Media Types
Body ()
Root Schema : sendPasswordReset_request
Type: object
Show Source
Example:
{
    "op":"confirmPasswordReset",
    "password":"ANewPassword123",
    "confirmPassword":"ANewPassword123",
    "email":"amber@example.com",
    "token":"sampleToken123123123"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : sendPasswordReset_response
Type: object
Show Source
Example Response (application/json)
{
    "success":"true"
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |83004|User login ID is required.| |60004|Resetting this account's password is not allowed. Check the link in your email and try again.| |83039|Passwords did not match.|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top