Cancels the upgrade from a resource account to a cloud account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcemanager:CancelPromoteResourceAccount |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RecordId |
string |
Yes |
The account record ID. |
06950264-3f0d-4ca9-82dd-6ee7a3d3**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
9B34724D-54B0-4A51-B34D-4512372FE1BE |
Examples
Success response
JSON format
{
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter.RecordId | You must specify RecordId. | The specified entry ID is invalid. You must specify a valid entry ID. |
| 404 | EntityNotExists.AccountRecord | This resource directory account recordId does not exist. | The specified entry ID does not exist or is removed. |
| 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 resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. |
| 409 | AccountTypeOrStatusMismatch | You cannot perform the action on the member account. | You cannot perform the action on the member account. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.