Realiza uma verificação de exclusão de membro.
Descrição da operação
Antes de excluir um membro, você deve chamar esta operação de API para verificar se o membro pode ser excluído.
Experimente agora
Testar
Autorização RAM
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| AccountId |
string |
Sim |
O ID da conta Alibaba Cloud do membro que você deseja excluir. |
179855839641**** |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
O resultado retornado. |
||
| RequestId |
string |
O ID da solicitação. |
7CDDDCEF-CDFD-0825-B7D7-217BE0897B22 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "7CDDDCEF-CDFD-0825-B7D7-217BE0897B22"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | MissingParameter.AccountId | You must specify AccountId. | |
| 400 | InvalidParameter.AccountId | The AccountId is invalid. | |
| 404 | EntityNotExists.Account | This resource directory account does not exist. | |
| 404 | EntityNotExists.ResourceDirectory | 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. | |
| 409 | InvalidControlPolicyEnablementStatus | The control policy enablement status is not valid to perform this operation. | |
| 409 | NoLicense.ResourceDirectory | The resource directory has not enabled the delete operation. | |
| 409 | UnknownError.Account | The deletion failed. An unknown error occurred. Please try again later. | |
| 409 | CallerIdentityError.DeleteAccount | Please use the RAM user or role of the management account to delete. | |
| 409 | RemoveConfilctAccountAsDelegatedAdministator | You attempted to remove a member that is registered as a delegated administrator. To complete this operation, you must first deregister this account as a delegated administrator. | |
| 409 | LegalEntityDifferent | The account legal entity is different from the one of the Management Account. | |
| 409 | MemberTypeError.DeleteAccount | You can only delete accounts of the resource account type created by Resource Directory. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.