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
  • application/json
Body Parameter
Root Schema : sendPasswordReset_request

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : sendPasswordReset_response
Example 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
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Request:

{
  "op": "confirmPasswordReset",
  "password": "ANewPassword123",
  "confirmPassword": "ANewPassword123",
  "email": "amber@example.com",
  "token": "sampleToken123123123"
}

Sample Response Payload returned by endpoint:

{"success": "true"}