本文介绍了不推荐使用SoftLayer_User_Customer :: updatePassword的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一段时间以来,我一直在使用方法SoftLayer_User_Customer :: updatePassword.我现在收到错误消息500 Internal Server Error,返回.

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

内容为'{"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方法

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

我查看了itialPortalPasswordChange方法,它发送了密码更改电子邮件.我们设计了一个系统,在该系统中,我们可以使用updatePassword方法自动更改密码,并且该密码非常适合我们.

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.

我现在使用什么方法,以便我们可以使用REST API更改用户名的密码?

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

推荐答案

当前,无法通过SoftLayer API或Control Portal更新密码.如您所说,唯一的方法是通过方法:

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

您可以将包含您的评论或要求的电子邮件发送到:[email protected].

You can send an email to: [email protected] with your comments or requirements.

这篇关于不推荐使用SoftLayer_User_Customer :: updatePassword的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-26 17:44