Admin Password API
The Reset Admin Password API is used to change the admin password.
Attention: The password should be of type AES encryption,
Base 64 or plain text.
Method | URI |
---|---|
PUT |
/cdwebconsole/svc/admincontroller/system/changeKeyword |
The following example shows the Command:
curl -X 'PUT' \
'https://172.20.186.254:9443/cdwebconsole/svc/admincontroller/system/changeKeyword' \
-H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiI0NjdlYTAzNy0wMjFjLTRkZDAtOTZjMi1hMTMwMmI0OTU0MDIiLCJleHAiOjE3MTU3NjQ4Njl9.YoFWhwWNMVuabHiF05Pi8_gVhGF-BhVGLYMVgOsKnibfROzzwvqh-PUO4YhOKv5vv6IhDw_4H3gBhqdAQ91sfQ' \
-H 'Content-Type: application/json' \
-H 'X-XSRF-TOKEN: bd80acaf-404a-4ed0-9157-6599d4dc9d53' \
-d '{"currentPassword":"Admin@123","adminKeyword":"Admin@1234"}'
The following example shows the HTTP User Request:
{
"currentPassword": "Admin@123",
"adminKeyword": "Admin@1234"
}
The following example shows the Sample Response:
{
"messageCode": 200,
"message": "Admin password is changed successfully"
}