通过新创建的管理账号开通资源目录时,调用SendVerificationCodeForEnableRD向新管理账号的安全手机发送验证码。
接口说明
每个阿里云账号每天最多发送 100 次验证码。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
resourcemanager:SendVerificationCodeForEnableRD |
none |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| SecureMobilePhone |
string |
否 |
新创建的管理账号的安全手机号码。置空表示采用当前登录账号的安全手机号码。 格式: 说明
不支持填写 |
xx-13900001234 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| RequestId |
string |
请求 ID。 |
EC2FE94D-A4A2-51A1-A493-5C273A36C46A |
示例
正常返回示例
JSON格式
{
"RequestId": "EC2FE94D-A4A2-51A1-A493-5C273A36C46A"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 409 | NotSupport.AccountInAnotherResourceDirectory | The specified account is an Alibaba Cloud account or already exists in another resource directory. | 您的账号是另一个资源目录的管理账号或是另一个资源目录内的成员。 |
| 409 | EntityAlreadyExists.ResourceDirectory | The resource directory for the account is already enabled. We recommend that you do not enable the resource directory again. | 账号已开通资源目录,请勿重复开通。 |
| 409 | SendValidateCodeExceedsLimitForAccount | For the same account, the number of verification codes sent exceeds the limit. | 当前账号发送的验证码每日数量超限。 |
| 409 | InvalidParameter.MobileCountryCode | The current site does not support the country code. | 当前站点不支持您输入的国家码。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。