文档

SendVerificationCodeForBindSecureMobilePhone - 向安全手机发送验证码

更新时间:

为资源账号类型的成员设置安全手机号码时,调用SendVerificationCodeForBindSecureMobilePhone向安全手机发送验证码。

接口说明

为确保系统可以记录到管理操作的具体操作者,请使用管理账号下具有资源目录管理权限(AliyunResourceDirectoryFullAccess)的 RAM 用户或 RAM 角色调用本 API。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
SecureMobilePhonestring

安全手机号码。

格式:<国家码>-<手机号码>。

说明 仅支持填写86-<手机号码>的中国内地手机号码。
xx-13900001234
AccountIdstring

成员的账号 ID。

138660628348****

返回参数

名称类型描述示例值
object

返回结果。

RequestIdstring

请求 ID。

DCD43660-75DD-5D15-B342-1B83FCA5B913
ExpirationDatestring

验证码过期时间。

2021-12-17T07:38:41.747Z

示例

正常返回示例

JSON格式

{
  "RequestId": "DCD43660-75DD-5D15-B342-1B83FCA5B913",
  "ExpirationDate": "2021-12-17T07:38:41.747Z"
}

错误码

HTTP status code错误码错误信息描述
409NotSupport.AccountInAnotherResourceDirectoryThe specified account is an Alibaba Cloud account or already exists in another resource directory.您的账号是另一个资源目录的管理账号或是另一个资源目录内的成员。
409EntityAlreadyExists.ResourceDirectoryThe resource directory for the account is already enabled. We recommend that you do not enable the resource directory again.账号已开通资源目录,请勿重复开通。
409SendValidateCodeExceedsLimitForAccountFor the same account, the number of verification codes sent exceeds the limit.当前账号发送的验证码每日数量超限。
409InvalidParameter.MobileCountryCodeThe current site does not support the country code.当前站点不支持您输入的国家码。

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (1)
文档反馈