API Overview
Message Callbacks
Status Codes
Overview
Updates the sign-in password.
Request
Authentication: Add authentication headers to the request. See Authentication
Method:
POST
Rate limit:
100 requests/second
Endpoint: https://API domain/jim/users/updpass
Content-Type:
application/json
Request Parameters
| Parameter | Data Type | Required | Description | |
|---|---|---|---|---|
| user_id | string | Yes | User ID. | |
| password | string | Yes | Current password. Hash it before sending. | |
| new_password | string | Yes | New password. Hash it before sending. |
Request Example
POST /jim/users/updpass HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json
{
"user_id":"xxxxxxx",
"password":"xxxxxx",
"new_password":"xxxxx"
}
Response Example
{
"code":0,
"msg":"sucess"
}