Skip to main content

Change password for a user

POST 

/api/admin/user-admin/:id/change-password

Change password for a user as an admin

Request

Path Parameters

    id stringrequired

Body

required

passwordSchema

    password stringrequired

    The new password to change or validate.

    Example: k!5As3HquUrQ
    oldPassword string

    The old password the user is changing. This field is for the non-admin users changing their own password.

    Example: Oldk!5As3HquUrQ
    confirmPassword string

    The confirmation of the new password. This field is for the non-admin users changing their own password.

    Example: k!5As3HquUrQ

Responses

This response has no body.

Loading...