Retrieves a verification code required when adding a premium office network to a Cloud Enterprise Network (CEN) instance that belongs to a different Alibaba Cloud account.
Operation description
When adding a premium office network to a CEN instance that belongs to a different Alibaba Cloud account, call this operation first to obtain a verification code. After a successful call, the system sends the verification code to the email address associated with the Alibaba Cloud account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:SendVerifyCode |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. Call DescribeRegions to query the regions supported by Elastic Desktop Service. |
cn-hangzhou |
| VerifyCodeAction |
string |
Yes |
The action associated with the verification code. Valid values:
|
eds_cenID_securityverification |
| ExtraInfo |
string |
No |
The information required to send the verification code, in JSON format. When verifying a CEN instance, provide the CEN instance ID and the Alibaba Cloud account ID to which the CEN instance belongs.
Note
If the specified CenId belongs to the current Alibaba Cloud account, this parameter is not required. If the specified CenId belongs to a different Alibaba Cloud account, specify the Alibaba Cloud account ID of the owner. |
{"cenOwnerId": 1234567890******,"cenId": "cen-3weq30r6t0s7t4****"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidCen.CenUidInvalid | The cen owner uid error or role don't exist. | The cen owner uid error or role don't exist. |
| 400 | VerifyCode.CenOwnerCrossBid | Cen not support cross bid. | Cen not support cross bid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.