This API is used to edit and update the password.
Resource URL
POST - /sms/2.0/user/update/password/{sub_uid}
Authorization
required
Bearer
Access Token
NOTE: Access Token here refers to the access authorization token.
sub_uid
required
It is the uid we get from the
Login API response
currpass
required
The current password which is being used.
password
required
The new password which is set.
Example Request URL
POST - http://__JTV__HOST__/sms/2.0/user/update/password/{sub_uid}
Example Request
Success
|
{ "code":0, "result":"success", "status":"success", "message":"password successfully updated" } |
Failure
|
{ "code":1001, "result":"failure", "status":"failure", "message":"password update failed" } |