2016-07-06 135 views
0

我一直在使用SoftLayer_User_Customer :: updatePassword方法。我現在收到錯誤500內部服務器錯誤返回。SoftLayer_User_Customer :: updatePassword已棄用

含量爲'{"error":"This method is deprecated. Please see documentation for initiatePortalPasswordChange","code":"SoftLayer_Exception"}'

我使用的URL是https://api.softlayer.com/rest/v3/SoftLayer_User_Customer/4719557/updatePassword用POST方法

我看着方法initiatePortalPasswordChange並將其發送更改密碼的電子郵件。我們設計了一個系統,我們使用teh方法updatePassword自動更改密碼,它對我們來說非常合適。

什麼mwethod做我現在用的,所以我們可以用REST API更改用戶名的密碼?

回答