회원 정보 수정

PATCH /api/member/{member-id}

oauth login user password 수정 불가

Status Code

200: 유저 정보 수정
404: 존재하지 않음
500: 서버 에러

Request Header

{
    "Authorization" : String
}

Request Body

{
     "memberId" : long,
     "password" : String,
     "nickname" : String,
     "phone" : String,
     "introduction" : String,
     "link" : String,
     "profileImageUrl" : String
}

Response Body

{
    "memberId": 1,
    "email": "email@gmail.com",
    "name": "이름",
    "nickname": "닉네임",
    "phone": "010-0000-0000",
    "oauth": false,
    "introduction": null,
    "link": null,
    "profileImageUrl": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/754.jpg",
    "followerCount": 0,
    "followingCount": 0,
    "followed": false,
    "myPage": false,
    "verified": false,
    "createdAt": "2023-05-22T02:22:26.7933717",
    "modifiedAt": "2023-05-22T02:22:26.7933717"
}

Last updated