SoftLayer_User_Customer::updatePassword deprecated

一曲冷凌霜 提交于 2019-12-13 07:05:12

问题


I have been using the method SoftLayer_User_Customer::updatePassword for awhile. I am now getting an error 500 Internal Server Error returned.

The content is '{"error":"This method is deprecated. Please see documentation for initiatePortalPasswordChange","code":"SoftLayer_Exception"}'

The URL I use is https://api.softlayer.com/rest/v3/SoftLayer_User_Customer/4719557/updatePassword with a POST method

I looked at the method initiatePortalPasswordChange and it sends a password change email. We have designed a system where we change the password automatically using teh method updatePassword and it works perfectly for us.

What mwethod do I use now so we can change the password of a username with a REST API?


回答1:


Currently, it's not possible to update your password through SoftLayer API or Control Portal. As you said, the only way is through method:

  • SoftLayer_User_Customer::initiatePortalPasswordChange

You can send an email to: PortalFeedback@softlayer.com with your comments or requirements.



来源:https://stackoverflow.com/questions/38227887/softlayer-user-customerupdatepassword-deprecated

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!