-
Notifications
You must be signed in to change notification settings - Fork 0
[PUT] 유저 이메일 변경
herimhong edited this page Jan 7, 2021
·
7 revisions
METHOD | PATH |
---|---|
PUT | /user/email |
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzEsImlhdCI6MTYxMDAxNzMwMiwiZXhwIjoxNjEwODgxMzAyLCJpc3MiOiJzb3VuZFBpY2tlciJ9.TIpgrP2-_a-ZMroP7s-7-v3hngiiZ3RnO7z-tTLNhC0
{
"email": "sapiens@email.com"
}
성공
{
"status": 200,
"success": true,
"message": "이메일 변경 성공",
"data": {
"id": 31,
"email": "sapiens@email.com"
}
}
실패-already exists
{
"status": 400,
"success": false,
"message": "이미 존재하는 이메일 입니다."
}