SoftLayer api调用initiatePortalPasswordChange失败

时间:2016-07-23 00:32:54

标签: ibm-cloud-infrastructure

此API调用只会告诉您通过电话拨打电话。

>>> client['User_Customer'].initiatePortalPasswordChange(username)
Traceback (most recent call last):
  File "<input>", line 1, in <module>
    client['User_Customer'].initiatePortalPasswordChange(username)
  File "/Users/p/.VirtualEnvs/main/lib/python2.7/site-packages/SoftLayer/API.py", line 373, in call_handler
    return self(name, *args, **kwargs)
  File "/Users/p/.VirtualEnvs/main/lib/python2.7/site-packages/SoftLayer/API.py", line 341, in call
    return self.client.call(self.name, name, *args, **kwargs)
  File "/Users/p/.VirtualEnvs/main/lib/python2.7/site-packages/SoftLayer/API.py", line 237, in call
    return self.transport(request)
  File "/Users/p/.VirtualEnvs/main/lib/python2.7/site-packages/SoftLayer/transports.py", line 187, in __call__
    raise _ex(ex.faultCode, ex.faultString)
SoftLayerAPIError: SoftLayerAPIError(SoftLayer_Exception_Public): User needs to contact revenue services in order to reset your password. Please contact 1-866-325-0045 Option 3 in order to reset your password.

updatePassword被弃用并打破我们的自动化时,令人沮丧,正如其他人here所讨论的那样。但是,当简单地启动密码重置的简单api呼叫告诉您通过电话呼叫他们时,更令人沮丧。真的吗? SoftLayer正在解构他们的api,一次一个电话,以扼杀自动化。

有人能告诉我为什么initiatePortalPasswordChange api电话不起作用吗?

1 个答案:

答案 0 :(得分:0)

我认为这不是关于API设计问题的地方,我认为这可能是出于安全原因,但最好在此发送电子邮件至PortalFeedback@softlayer.com。

此致