Skip to main content
POST
Change the password of the user

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
currentPassword
string
required

The current password is required

newPassword
string
required

The new password to set

revokeOtherSessions
boolean | null

Must be a boolean value

Response

Password successfully changed

user
object
required
token
string | null

New session token if other sessions were revoked