1. 모홈 사용자 관리 APIs
[LEIMOWORKS]OpenAPIs
  • 공통
    • SSO 로그인 (리다이렉트)
      GET
    • 인증토큰 발급
      GET
  • 모홈 보장분석 APIs
    • 본인인증 - 인증번호 요청
      POST
    • 본인인증 - 인증번호 검증
      POST
    • 약관조회
      GET
    • 보장분석 결과
      POST
    • 보장분석 결과 리포트
      POST
  • 모홈 메디컬보장분석 APIs
    • 건강보험공단 - 간편인증 요청
      POST
    • 건강보험공단 - 간편인증 완료
      POST
    • 건강검진 데이터 조회
      POST
    • 보장분석 결과 전송
      POST
    • PDF 리포트 요청
      POST
    • JSON 리포트 요청
      POST
  • 모홈 사용자 관리 APIs
    • 사용자 추가
      PUT
    • 사용자 업데이트
      PATCH
    • 사용자 리스트
      GET
    • 사용자 삭제
      DELETE
  • 모홈 청구 APIs
    • 보험사 목록
      GET
    • 은행 목록
      GET
    • 우체국 지급센터 목록
      GET
    • 직업 코드 목록 [x]
      GET
    • 약관 조회 [x]
      GET
    • 청구
      POST
    • 청구 이력
      POST
  • LDBDS v1 APis
    • 상품 AS 정책 조회
    • 지역 허용값 목록
    • 주문 목록·통계
    • 주문 등록
    • 주문 단건 조회
    • 주문 취소
    • 소유 DB 리스트
    • DB 단건 등록
    • 기분배 DB 리스트
    • 소유 DB 단건 조회
    • DB 사용처리
    • Lead ID 목록으로 이름·연락처(복호화) 조회
    • 파일 업로드 Presigned URL 발급
    • AS 사유 코드 목록
    • AS 신청 리스트
    • AS 신청
    • AS 신청 단건 조회
    • AS 신청 취소
    • DB 분배
    • DB 분배 회수
  • Schemas
    • SsoLoginRequest
    • TokenResponse
    • ProductAsPolicyResponse
    • SsoLoginResponse
    • Error
    • ErrorResponse
    • RegionsResponse
    • OrdersListWithSummaryResponse
    • OrderListItem
    • Order
    • CreateOrderRequest
    • RegionQuantity
    • LeadsListResponse
    • Lead
    • LeadCreated
    • CreateLeadV1Request
    • PresignedRequest
    • AsReasonsResponse
    • AsListItem
    • AsDetail
    • CreateAsRequest
    • DistributeRequest
    • RecallRequest
  1. 모홈 사용자 관리 APIs

사용자 추가

PUT
/api/v1/user
This endpoint allows you to update user information using an HTTP PUT request to {{HOST}}/v1/user. The request should include a raw JSON payload with the keys "name", "phone", "pw", and "emp_no".

Request Body#

name: (string) The user's name.
phone: (string) The user's phone number.
pw: (string) The user's password.
emp_no: (string) The user's employee number.

Response#

Upon a successful update, the response will include:
success: (boolean) Indicates the success of the operation.
user_id: (integer) The ID of the updated user.
Add documentation

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200사용자 추가
application/json
Bodyapplication/json

🟠400실패
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://mohom.kr/api/v1/user' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "name": "테스트_전환",
    "phone": "010-9956-3555",
    "pw": "a1234567",
    "emp_no": "iFA_test"
}'
Response Response Example
200 - 사용자 추가
{
    "success": true,
    "user_id": 1236185
}
Modified at 2025-04-28 08:10:26
Previous
모홈 사용자 관리 APIs
Next
사용자 업데이트
Built with