Skip to main content

Change password

POST 

/v2beta/users/:userId/password

Change the password of a user with either a verification code or the current password.

Request

Path Parameters

    userId stringrequired

Body

required

    newPassword

    object

    password stringrequired

    Possible values: non-empty and <= 200 characters

    changeRequired boolean
    currentPassword stringrequired

    Possible values: non-empty and <= 200 characters

    verificationCode stringrequired

    Possible values: non-empty and <= 20 characters

    "the verification code generated during password reset request"

Responses

OK

Schema

    details

    object

    sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    resourceOwner resource_owner is the organization or instance_id an object belongs to (string)
Loading...