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(optional): string
                        
                        The asset language of the request
Root Schema : updateExpiredPassword_request
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            confirmPassword(optional): 
            string
            Confirmation of the new password. This should match the new password value. This will be optional when the operation is validateToken.
- 
            login(optional): 
            string
            Login of the user. This will be optional when the operation is validateToken.
- 
            op(optional): 
            string
            The operation to be performed. This is an optional parameter that can be set to validateToken to just validate the token.
- 
            password(optional): 
            string
            The new password. This will be optional when the operation is validateToken.
- 
            token: 
            string
            The token for the password reset.
Example:
    
    
{
    "newPassword":"12345678",
    "login":"a@example.com",
    "newConfirmPassword":"12345678",
    "token":"yJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMTAwMzMiLCJpc3MiOiJzdG9yZWZyb250VUkiLCJleHAiOjE1MDQxMTE3OTQsImlhdCI6MTUwNDA5MDE5NH0=.+AllN7uBoKLc98HDY4nqlqq9IdB575B62tfzclBmewM="
}Response
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : updateExpiredPassword_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            success(optional): 
            boolean
            Returns true if the password is updated successfully.
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|
|------------------|------------------|
|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.|
                
                
                    Root Schema : errorModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            errors(optional): 
            array  errors
            
            An optional list of errors if multiple errors were encountered
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code
- 
            type(optional): 
            string
            The URI to the HTTP state code definition
Nested Schema : errors
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn optional list of errors if multiple errors were encountered
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code