Change password for calling user if user type is a dialog user.
Hint: CNBS Trace utility will not capture request body, therefor user password are not saved in trace data (hard coded!)
/cnbs/v1/user/change_password
POST
High level summary of required operations:
JSON Payload:
{
"current_password": "Initial01",
"new_password": "Zufght#$"
}
cURL
curl -X POST "https://<<your.server.here>>/cnbs/v1/user/change_password?sap-client=800&sap-language=EN&apiid=CNBSMV01R" -H "accept: application/json" -H "cnbssysid: gPuM1VyY1dxlTE2MEs2yajJUkX3/4+2Pw1alRw4BOtI=" -H "authorization: Basic Y2tvZXNzbHQ6dGVzdDAx" -H "Content-Type: application/json" -d "{ \"current_password\": \"Initial01\", \"new_password\": \"Zufght#$\"}"
JSON:
{
"message_type": "S",
"message_identification": "S>",
"message_number": 506,
"message_line_string": "Password has been changed"
}