This API is used to change the password of the current login user. This API can be used only by security clusters that support Kerberos authentication.
POST /web/v1/access/modify_self_password
Parameter |
Mandatory or Not |
Description |
---|---|---|
old_password |
Yes |
Old password |
new_password |
Yes |
New password |
confirm_password |
Yes |
Confirm password |
POST /web/v1/access/modify_self_password?old_password=null&new_password=null& confirm_password=null HTTP/1.1 Host: example.com Content-Type: application/json Accept:application/json
HTTP/1.1 200 OK Data:Wed,02 May 2018 10:10:01 GMT Server: example-server Content-Type: application/json { "int_result_code": 0, "result_desc": "string" }
Parameter |
Mandatory or Not |
Type |
Description |
---|---|---|---|
int_result_code |
No |
INTEGER |
Code of the return result |
result_desc |
No |
STRING |
Description of the return result |
Status Code |
Description |
---|---|
200 |
The operation is successful. |
For details about error status codes, see Status Codes.