Cancels the creation of an Alibaba Cloud account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CancelCreateCloudAccount

The operation that you want to perform. Set the value to CancelCreateCloudAccount.

RecordId String Yes 06950264-3f0d-4ca9-82dd-6ee7a3d33d6b

The account record ID.

Response parameters

Parameter Type Example Description
RequestId String 9B34724D-54B0-4A51-B34D-4512372FE1BE

The ID of the request.

Examples

Sample requests

https://resourcemanager.aliyuncs.com/?Action=CancelCreateCloudAccount
&RecordId=06950264-3f0d-4ca9-82dd-6ee7a3d33d6b
&<Common request parameters>

Sample success responses

XML format

<CancelCreateCloudAccountResponse>
    <RequestId>9B34724D-54B0-4A51-B34D-4512372FE1BE</RequestId>
</CancelCreateCloudAccountResponse>

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 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 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.

For a list of error codes, visit the API Error Center.