API Guide
messageParams [string]
Params array to substitute in the message. This will be used by UI to substitue the params in the
Message in the localized le.
}]
}
3.9 PUT /auth/users/self/password
Change existing password by user.
This API should be invoked to change their existing password by user.
REQUEST
REQUEST BODY - application/json
{
old_password* string 8 to 20 chars
old password.
new_password* string 8 to 20 chars
At least 8 characters <br> At least one lowercase character <br> At least one numeric character
<br> At least one special character <br> The password for this user cannot be more than 20
characters long.
confirm_new_password* string 8 to 20 chars
Should be the same as new password provided.
}
RESPONSE
STATUS CODE - 202: success or error response
RESPONSE MODEL - application/json
{
new_object_id string
This represents the id of the new object created for the POST API call.
id string
This represents the key for the localized property le to be used by UI to show the localized string.
message string
Success or error message
messageParams [string]
Params array to substitute in the message. This will be used by UI to substitue the params in the
Message in the localized le.
messages [{
Array of object:
id string
This represents the key for the localized property le to be used by UI to show the localized string.
message string
Success or error message
field_name string
Field name where the error was seen
messageParams [string]
Params array to substitute in the message. This will be used by UI to substitue the params in the
Message in the localized le.
}]
}
STATUS CODE - 401: You are not authorized to perform this operation.
RESPONSE MODEL - application/json
{
new_object_id string
This represents the id of the new object created for the POST API call.
id string
This represents the key for the localized property le to be used by UI to show the localized string.
message string
Success or error message
messageParams [string]
Params array to substitute in the message. This will be used by UI to substitue the params in the
Message in the localized le.
messages [{
Array of object:
id string
This represents the key for the localized property le to be used by UI to show the localized string.
message string
Success or error message
field_name string
Field name where the error was seen
Params array to substitute in the message. This will be used by UI to substitue the params in the
33 of 340










