Changes the password of an administrator.

 

Request

Method

URL

POST

/smserver-default/sms.ChangeAdminPassword

RAW

POST /smserver-default/sms.ChangeAdminPassword HTTP/1.1

Cache-Control: no-cache

Connection: Keep-Alive

Pragma: no-cache

Content-Type: application/json; charset=UTF-8

Accept: */*

Authorization: Bearer XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

 

[

{

       "CurrentPassword" : "****",

       "NewPassword" : "****"

   }

]

Explained

This API function allows an administrator to change his/her own password (provided the current password is known.

 

CurrentPassword: the current password (for verification purposes)

NewPassword: the new password for the currently logged-in administrative profile

 

Response

Method

URL

RAW

Accept-Encoding: synlz,gzip

Content-Type: application/json; charset=UTF-8

 

 

{"result":[

{

       "Result" : 1,

       "ResultMsg" : "Password updated"

   }

],"id":772674711}

Explained

Result:

  1 = password changed successfully

  2 = an error occurred (password was not changed)

 

ResultMsg: a friendly message (success or error message) explaining what happened