Accounts > Change Email


Send Email

POST : /api/designnest/v1/accounts/me/email

Request :

{
    "account" : {
        "email" : ''
    }
}

email : Email of account

Response :

{
    "code" : 1 ,
    "message" : "" ,
}

Change Email

PATCH : /api/designnest/v1/accounts/me/email

Request :

{
    "account" : {
        "email" : '' ,
        "password" : '' ,
        "code" : 01234567
    }
}

email : New email of account

password : Password of current account

code : New email code of account

Response :

{
    "code" : 1 ,
    "message" : "" ,
    "data" : [
        "token" => '' ,
    ]
}

{danger} The previous token will be invalid