Reset User Password


    # Here is a curl example
    curl \
    -X POST "http://localhost:8888/api/UsersAndGroups/ResetPassword" \
    -H "Authorization: {token}" \
    -H "Content-Type: application/json" \
    -d '{
        "user_id": 1,
        "user_must_change_password_on_next_login": true
    }'

This method allows you to reset user password.

To reset password, you need to make a POST call to the following url: :
http://localhost:8888/api/UsersAndGroups/ResetPassword



    Result example :
    [
        {
            "Success": "boolean",
            "Message": "string",
            "Data": object,
            "CustomAction": Dictionary<object, object> ,
            "CustomAttributes":Dictionary<object, object>
        }
    ]

From Body Parameters

Field Parameter Type Type Description
user_id body long User Id
user_must_change_password_on_next_login body boolean User must change password on next login
Authorization header string Add Authorization header token