# 비밀번호 변경

## 최근비밀번호 일치 확인

> \## 기능설명\
> \* 최근 비밀번호와 일치한지 확인합니다.\
> \---\
> \## 상세설명\
> \* 비밀번호 변경 이력에 남은 최근 비밀번호와 신규 비밀번호가 일치하면 비밃번호를 변경할 수 없습니다.\
> \* userId, currentPasswd, newPasswd는 필수입니다.\
> \* 최근 비밀번호와 일치한지에 대한 여부를 반환합니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PasswordChangeRequest":{"type":"object","description":"비밀번호 변경 요청 DTO","properties":{"userId":{"type":"string","description":"사용자ID"},"currentPasswd":{"type":"string","description":"현재 비밀번호"},"newPasswd":{"type":"string","description":"신규 비밀번호"}}},"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}}}},"paths":{"/v1/system/passwordChange/checkRecentPassword":{"post":{"tags":["비밀번호 변경"],"summary":"최근비밀번호 일치 확인","description":"## 기능설명\n* 최근 비밀번호와 일치한지 확인합니다.\n---\n## 상세설명\n* 비밀번호 변경 이력에 남은 최근 비밀번호와 신규 비밀번호가 일치하면 비밃번호를 변경할 수 없습니다.\n* userId, currentPasswd, newPasswd는 필수입니다.\n* 최근 비밀번호와 일치한지에 대한 여부를 반환합니다.\n","operationId":"checkRecentPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChangeRequest"}}},"required":true},"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"type":"boolean"}}}},"900":{"description":"업무처리 오류 내용","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## 기존비밀번호 일치 확인

> \## 기능설명\
> \* 기존 비밀번호와 일치한지 확인합니다.\
> \---\
> \## 상세설명\
> \* 기존 비밀번호와 일치하면 비밃번호를 변경할 수 없습니다.\
> \* userId, currentPasswd는 필수입니다.\
> \* 기존 비밀번호와 일치한지에 대한 여부를 반환합니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PasswordChangeRequest":{"type":"object","description":"비밀번호 변경 요청 DTO","properties":{"userId":{"type":"string","description":"사용자ID"},"currentPasswd":{"type":"string","description":"현재 비밀번호"},"newPasswd":{"type":"string","description":"신규 비밀번호"}}},"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}}}},"paths":{"/v1/system/passwordChange/checkCurrentPassword":{"post":{"tags":["비밀번호 변경"],"summary":"기존비밀번호 일치 확인","description":"## 기능설명\n* 기존 비밀번호와 일치한지 확인합니다.\n---\n## 상세설명\n* 기존 비밀번호와 일치하면 비밃번호를 변경할 수 없습니다.\n* userId, currentPasswd는 필수입니다.\n* 기존 비밀번호와 일치한지에 대한 여부를 반환합니다.\n","operationId":"checkCurrentPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChangeRequest"}}},"required":true},"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"type":"boolean"}}}},"900":{"description":"업무처리 오류 내용","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## 비밀번호 변경

> \## 기능설명\
> \* 입력한 비밀번호로 변경 처리합니다.\
> \---\
> \## 상세설명\
> \* 최근 비밀번호와 일치하지 않아야 변경 가능합니다.\
> \* 기존 비밀번호와 일치하지 않아야 변경 가능합니다.\
> \* userId, newPasswd는 필수입니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PasswordChangeRequest":{"type":"object","description":"비밀번호 변경 요청 DTO","properties":{"userId":{"type":"string","description":"사용자ID"},"currentPasswd":{"type":"string","description":"현재 비밀번호"},"newPasswd":{"type":"string","description":"신규 비밀번호"}}},"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}}}},"paths":{"/v1/system/passwordChange/changePassword":{"post":{"tags":["비밀번호 변경"],"summary":"비밀번호 변경","description":"## 기능설명\n* 입력한 비밀번호로 변경 처리합니다.\n---\n## 상세설명\n* 최근 비밀번호와 일치하지 않아야 변경 가능합니다.\n* 기존 비밀번호와 일치하지 않아야 변경 가능합니다.\n* userId, newPasswd는 필수입니다.\n","operationId":"changePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChangeRequest"}}},"required":true},"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"type":"string"}}}},"900":{"description":"업무처리 오류 내용","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tech.x2bee.com/api/back-office-api/system-bo-api/undefined-17.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
