How do I change an auxiliary database user password?

Purpose
 

Log in to a station that has access to the NSP cluster.


Open a console window.


Issue the following RESTCONF API call:

Note: In order to issue a RESTCONF API call, you require a token; see the My First NSP API Client tutorial on the Network Developer Portal for information.

POST https://address/restconf/data/nsp-auxdb-user:users/user=username/change-password

where

address is the NSP advertised address

username is the username, for example, samauxdb, samuser, samanalytic, or samanalytic_ano

The request body is the following, in which you specify the new and current passwords:

{

    "nsp-auxdb-user:input" : {

        "new-password": "new_password",

        "current-password": "current_password

    }

}

The following is an example of a success response:

{

    "nsp-auxdb-user:output": {},

    "statusCode": "OK"

}


Close the console window.

End of steps