Table of Contents

Change password

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!)

URL

/cnbs/v1/user/change_password

Method(s)

POST

Overview

High level summary of required operations:

Parameters

Required

Example POST

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#$\"}"

Response

Example Response

JSON:

{
  "message_type": "S",
  "message_identification": "S>",
  "message_number": 506,
  "message_line_string": "Password has been changed"
}