JOC API

Version 2.6.5

Download RAML
JOC API
/iam/account/changepassword
POST

Changes the password for the given account


Parameters in the POST body schema

Name Type Description Example Default
identityServiceName required, string The name of the idendityService that should be considered for this call myService
accountName required, string The name of the account myAccount
password optional, string The password for the account. A hash will be created and stored in the database myPassword
repeatedPassword optional, string Repeats the password value. If not equal an exception is thrown myPassword
oldPassword optional, string The old password for the account. If it is wrong an exception is thrown myOldPassword
forcePasswordChange optional, boolean Whether the flag forcepasswordchange is set in the account false false
auditLog optional, object Object that contains comment, timeSpent and ticketLink.
{
  "comment": "Operational requirement!",
  "timeSpent": 2
}
comment optional, string Field in auditLog to comment this action, e.g. the reason.
timeSpent optional, integer Field in auditLog to enter the time spent in minutes.
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.