updateExpiredPassword

post

/ccstore/v1/profiles/updateExpiredPassword

Update Expired Password. Used to change password of the profile,if current password is expired. Optionally takes the x-ccasset-language header to get translated content in another language.

Request

Supported Media Types
  • application/json
Header Parameters
X-CCAsset-Language
Type: string
The asset language of the request
Body Parameter
Root Schema : updateExpiredPassword_request

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : updateExpiredPassword_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| |------------------|------------------| |83037|If the token authentication fails.| |23026|If the user input is null or empty.| |83039|If the password and the confirm password do not match.| |83032|If there is an error while updating the password.|
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:

{
  "newPassword": "12345678",
  "login": "a@a.com",
  "newConfirmPassword": "12345678",
  "token": "yJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMTAwMzMiLCJpc3MiOiJzdG9yZWZyb250VUkiLCJleHAiOjE1MDQxMTE3OTQsImlhdCI6MTUwNDA5MDE5NH0=.+AllN7uBoKLc98HDY4nqlqq9IdB575B62tfzclBmewM="
}

Sample Response Payload returned by endpoint:

{"success": true}