Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update_user_pass => properties undefined #7

Open
gmauleon opened this issue Mar 23, 2016 · 0 comments
Open

update_user_pass => properties undefined #7

gmauleon opened this issue Mar 23, 2016 · 0 comments

Comments

@gmauleon
Copy link

Sorry me again, don't have time to git pull + merge request but I think the endpoint is actually /password at the end and the properties must contains the actual password.

Something like
def update_user_pass(user_id,password)
endpoint = " /api/admin/users/#{user_id}/password"
@logger.info("Updating password for user ID #{user_id} (PUT #{endpoint})") if @debug
properties = {
"password" => password
}
return put_request(endpoint,properties)
end

Thanks
Gael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant