> For the complete documentation index, see [llms.txt](https://apidocs.juicefin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.juicefin.com/apis/administration/reset-password.md).

# Reset Password

## Reset Password

The Reset Password API enables an Administrator (of a given organization hierarchy) to reset the password of a user and unlock its lock.

## Input Parameters:

| Name            | Required | Definition                 | Comments |
| --------------- | -------- | -------------------------- | -------- |
| CardNumber      | Y        | Format: Numeric, 16        |          |
| ChangedUserName | Y        | Format: Alphanumeric, 6-30 |          |

## Output Parameters:

## XML Samples

### Input XML

```json
<?xml version="1.0"?>
<PraxellXMLRequest>
  <AuthenticationDetails>
    <UserName>ZZ_QA_Test1</UserName>
    <UserPassword>1q2w3e4r5t</UserPassword>
    <ClientSourceIP></ClientSourceIP> 
 </AuthenticationDetails>;
  <ServiceDetails>
    <UniqueRequestId>3302964</UniqueRequestId>
    <ServiceName>ResetPassword</ServiceName>
  </ServiceDetails>
  <Origin>
    <OriginType>ExtAPI</OriginType>
  </Origin>
  <ServiceParams>
    <CardNumber></CardNumber>
    <ChangedUserName>ZZ_QA_Test1</ChangedUserName>
  </ServiceParams>
</PraxellXMLRequest>
```

```json
<PraxellXMLResponse> 
<ResponseDetails>
  <ServiceName>ResetPassword</ServiceName>
  <SessionId>29837510200849031</SessionId>
  <StatusCode>0</StatusCode>
  <StatusName>StatusOK</StatusName>
  <StatusDescription>NA</StatusDescription>
  <ServiceDate>2008-03-11 10:49:10</ServiceDate>
  <ServiceId>29837510200849031</ServiceId>
</ResponseDetails>
<ResponseParams />
</PraxellXMLResponse>
```

```json
<?xml version="1.0"?>
<PraxellXMLResponse>
  <ResponseDetails>
    <ServiceName>ResetPassword</ServiceName>
    <SessionId>07071612200737105</SessionId>
    <StatusCode>70029</StatusCode>
    <StatusName>Data not found (cardholder not found)</StatusName>
    <StatusDescription>Data not found (cardholder not found)</StatusDescription>
    <ServiceDate>2021-10-01 12:37:50</ServiceDate>
    <ServiceId>07071612200737105</ServiceId>
  </ResponseDetails>
  <ResponseParams>
  </ResponseParams>
</PraxellXMLResponse>
```
