Update a User

Use the issued authentication token to update the user’s email or password.

For Business plans and higher, specify the eml parameter to update information for other users within your organization.

This API is available for Personal plans and higher.

PUT

/api/user/v1/update

HTTP Header
X-Access-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
{
    "eml": "yourchange@gmail.com",
    "pwd": "Zght943!"
}

Request Parameters

emlstring
New email address to update.
Re-authentication is required when logging in after changing the email.
pwdstring
New password to update.
Must be 6–30 characters long and contain a combination of letters and numbers.
{
    "code": 0,
    "message": "",
    "result": null
}

Response Parameters

codeinteger
Response code: 0 = Success, other values = Error
messagestring
Response message. If the response code is not 0, an error message is returned.
resultnull