POST api/v1/Network/Agents/{AgentID}/User/ChangePassword

To send request to change password

Request Information

Parameters

NameDescriptionAdditional information
changePasswordDTO

Define this parameter in the request body.

AgentID
No documentation available.

Define this parameter in the request URI.

Request body formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "ResetToken": "sample string 1",
  "CurrentPassword": "sample string 2",
  "Password": "sample string 3",
  "PasswordConfirm": "sample string 4"
}

application/xml, text/xml

Sample:
<ChangePasswordDTO>
  <ResetToken>sample string 1</ResetToken>
  <CurrentPassword>sample string 2</CurrentPassword>
  <Password>sample string 3</Password>
  <PasswordConfirm>sample string 4</PasswordConfirm>
</ChangePasswordDTO>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Type": "sample string 1",
  "Message": "sample string 2",
  "Code": "sample string 3",
  "Params": [
    {
      "Name": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Message": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseMessage>
  <Type>sample string 1</Type>
  <Message>sample string 2</Message>
  <Code>sample string 3</Code>
  <Params>
    <ResponseParam>
      <Name>sample string 1</Name>
      <Message>sample string 2</Message>
    </ResponseParam>
    <ResponseParam>
      <Name>sample string 1</Name>
      <Message>sample string 2</Message>
    </ResponseParam>
    <ResponseParam>
      <Name>sample string 1</Name>
      <Message>sample string 2</Message>
    </ResponseParam>
  </Params>
</ResponseMessage>