Resends an email that is used to confirm the upgrade from a resource account to a cloud account.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ResendPromoteResourceAccountEmail |
The operation that you want to perform. Set the value to ResendPromoteResourceAccountEmail. |
RecordId | String | Yes | 06950264-3f0d-4ca9-82dd-6ee7a3d33d6b |
The account record ID. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Account | Struct |
The information of the member account. |
|
AccountId | String | 12323344**** |
The ID of the account. |
AccountName | String | someone@example.com |
The name of the account. |
DisplayName | String | admin |
The display name of the member account. |
FolderId | String | fd-bVaRIG**** |
The ID of the folder. |
JoinMethod | String | created |
The way in which the member account joined the resource directory. Valid values:
|
JoinTime | String | 2015-01-23T12:33:18Z |
The time when the member account joined the resource directory. |
ModifyTime | String | 2015-01-23T12:33:18Z |
The time when the member account was modified. |
RecordId | String | 16950264-3f0d-4ca9-82dd-6ee7a3d33d6b |
The account record ID. |
ResourceDirectoryId | String | rd-k3**** |
The ID of the resource directory. |
Status | String | PromoteVerifying |
The status of the member account. Valid values:
|
Type | String | ResourceAccount |
The type of the member account. Valid values:
|
RequestId | String | 9B34724D-54B0-4A51-B34D-4512372FE1BE |
The ID of the request. |
Examples
Sample requests
https://resourcemanager.aliyuncs.com/?Action=ResendPromoteResourceAccountEmail
&RecordId=06950264-3f0d-4ca9-82dd-6ee7a3d33d6b
&<Common request parameters>
Sample success responses
XML
format
<ResendPromoteResourceAccountEmailResponse>
<RequestId>9B34724D-54B0-4A51-B34D-4512372FE1BE</RequestId>
<Account>
<ResourceDirectoryId>rd-k3****</ResourceDirectoryId>
<AccountId>12323344****</AccountId>
<DisplayName>admin</DisplayName>
<FolderId>fd-bVaRIG****</FolderId>
<JoinMethod>created</JoinMethod>
<JoinTime>2015-01-23T12:33:18Z</JoinTime>
<Type>ResourceAccount</Type>
<Status>PromoteVerifying</Status>
<RecordId>16950264-3f0d-4ca9-82dd-6ee7a3d33d6b</RecordId>
<ModifyTime>2015-01-23T12:33:18Z</ModifyTime>
</Account>
</ResendPromoteResourceAccountEmailResponse>
JSON
format
{
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE",
"Account": {
"ResourceDirectoryId":"rd-k3****",
"AccountId": "12323344****",
"DisplayName": "admin",
"FolderId": "fd-bVaRIG****",
"JoinMethod": "created",
"JoinTime": "2015-01-23T12:33:18Z",
"Type":"ResourceAccount",
"Status":"PromoteVerifying",
"RecordId":"16950264-3f0d-4ca9-82dd-6ee7a3d33d6b",
"ModifyTime":"2015-01-23T12:33:18Z"
}
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
409 | AccountTypeOrStatusMismatch | You cannot perform the action on the member account. | The error message returned because you cannot perform the operation on the member account. |
404 | EntityNotExists.ResourceDirectory | The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. | The error message returned because the resource directory for the account is not enabled. Enable the resource directory for the account. |
400 | MissingParameter.RecordId | You must specify RecordId. | The error message returned because the RecordId parameter is not specified. Specify this parameter. |
404 | EntityNotExists.AccountRecord | This resource directory account recordId does not exist. | The error message returned because the account record ID does not exist. |
409 | LimitExceeded.Frequency | The frequency of request exceeds limit. | The error message returned because the frequency of the request has exceeded the upper limit. |
For a list of error codes, visit the API Error Center.