https://api.sciener.com/v3/user/resetPassword
Only password of users registered by cloud API: User register can be rested,you can't reset password of user accounts registered in Sciener APP。
POST, ContentType:application/x-www-form-urlencoded
x
curl --location -g --request POST 'https://api.sciener.com/v3/user/resetPassword' \--header 'Content-Type: application/x-www-form-urlencoded' \--data-urlencode 'clientId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \--data-urlencode 'clientSecret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \--data-urlencode 'username=abcd_c042f4db68f23406c6cecf84a7ebb0fe' \--data-urlencode 'password=e10adc3949ba59abbe56e057f20f883e' \--data-urlencode 'date=1625019027000'| Name | Type | Required | Description |
|---|---|---|---|
| clientId | String | Y | client_id from Create application |
| clientSecret | String | Y | client_secret from Create application |
| username | String | Y | The prefixed username return by cloud API: User register |
| password | String | Y | New password(32 chars, low case, md5 encrypted) |
| date | Long | Y | Current time (timestamp in millisecond) |
| Parameter | Type | Description |
|---|---|---|
| errcode | Int | Error code |
| errmsg | String | Error message |
xxxxxxxxxx{"errcode": 0,"errmsg": "none error message"}