Change password for authenticated user
POST
/users/{userId}/password
Change the password for the authenticated user. Requires the current password for verification. All other sessions will be invalidated.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” userId
required
string
Request Body
Section titled “Request Body ”object
currentPassword
required
string
newPassword
required
string
Responses
Section titled “ Responses ”Password changed successfully
object
message
required
string
Current password is incorrect
object
error
required
string
code
required
string
Forbidden - can only change your own password
User not found