Resets the password for the current user

Prev Next
Put
/api/v1/mypasswordreset
Security
HTTP
Type bearer
Query parameters
userId
stringRequired

The ID of the user

Body parameters

The old password and new password

object
loginpassword
string
userpassword
string
Responses
200

OK

Expand All
object
authorization
boolean
data
object
message
string
userObjectGUID
string
error_code
integer
error_message
string
error_status
boolean
Examplefalse
400

Bad Request

Expand All
object
authorization
boolean
data
object
error_code
integer
error_message
string
error_status
boolean
message
string
userObjectGUID
string
401

Unauthorized

Expand All
object
authorization
boolean
data
object
error_code
integer
error_message
string
error_status
boolean
message
string
userObjectGUID
string
403

Forbidden - User creation is still in progress.

Expand All
object
authorization
boolean
data
object
error_code
integer
error_message
string
error_status
boolean
message
string
userObjectGUID
string
404

Not Found

Expand All
object
authorization
boolean
data
object
error_code
integer
error_message
string
error_status
boolean
message
string
userObjectGUID
string
500

Internal Server Error

Expand All
object
authorization
boolean
data
object
error_code
integer
error_message
string
error_status
boolean
message
string
userObjectGUID
string