Supprime un enregistrement DNS en fonction de son RecordId.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
esa:DeleteRecord |
delete |
*All Resource
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| RecordId |
integer |
Oui |
L'identifiant de l'enregistrement DNS. Vous pouvez obtenir cet identifiant en appelant l'opération ListRecords. |
1234567890123 |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| RequestId |
string |
L'identifiant de la requête. |
F61CDR30-E83C-4FDA-BF73-9A94CDD44229 |
Exemples
JSON format
{
"RequestId": "F61CDR30-E83C-4FDA-BF73-9A94CDD44229"
}
Codes d'erreur
|
Code de statut HTTP |
Code d'erreur |
Message d'erreur |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | NoPermission | You do not have permissions to access or operate on the resource.Contact your account administrator to attach the AliyunESAFullAccess policy to the current user. | You do not have permissions to access or operate on the resource.Contact your account administrator to attach the AliyunESAFullAccess policy to the current user. |
| 400 | Instance.NotOnline | Your plan is unavailable due to an overdue payment. Complete the payment first. | Your plan is unavailable due to an overdue payment. Complete the payment first. |
| 400 | Record.Reserved | Another operation on the record is in progress. Try again later. | Another operation on the record is in progress. Try again later. |
| 400 | Record.ServiceBusy | The record is being configured. Try again later. | The record is being configured. Try again later. |
| 400 | Record.ProtectedAsCustomHostnameSource | Failed to delete the record because it is the origin server of existing custom hostnames.Remove all references to the record and try again. | Failed to delete the record because it is the origin server of existing custom hostnames.Remove all references to the record and try again. |
| 404 | Record.NotFound | The record does not exist. Check your configurations and try again. | The record does not exist. Check your configurations and try again. |
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.