sendMFAPasswordReset

post

/ccadmin/v1/adminProfiles/sendMFAPasswordReset

Send Password Reset with multi-factor authentication. 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 along with valid passcode.

Request

Supported Media Types
Body ()
Root Schema : sendMFAPasswordReset_request
Type: object
Show Source
Example:
{
    "op":"confirmPasswordReset",
    "password":"ANewPassword123",
    "confirmPassword":"ANewPassword123",
    "totp_code":"123456",
    "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 : sendMFAPasswordReset_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.| |83041|One-Time Passcode is not valid.|
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