Memverifikasi kepemilikan domain yang ditentukan.
Deskripsi operasi
Anda dapat memanggil operasi ini hingga 100 kali per detik per akun.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:VerifyDomainOwner |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
Nama domain yang ingin Anda verifikasi kepemilikannya. Anda hanya dapat menentukan satu nama domain. |
example.com |
| VerifyType |
string |
Yes |
Metode verifikasi. Nilai yang valid:
|
dnsCheck |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Content |
string |
Hasil verifikasi. Catatan
Parameter ini hanya dikembalikan jika operasi gagal. |
verify_dffeb6610035dcb77b413a59c32c**** |
| RequestId |
string |
ID permintaan. |
34AB41F1-04A5-496F-8C8D-634BDBE6A9FB |
Contoh
Respons sukses
JSONformat
{
"Content": "verify_dffeb6610035dcb77b413a59c32c****",
"RequestId": "34AB41F1-04A5-496F-8C8D-634BDBE6A9FB"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DomainOwnerVerifyFail | Owner verification of the root domain failed. | The first time a domain name is added to Alibaba Cloud CDN, you must prove the ownership of the domain name. You must add a DNS record or a verification file for the domain name before it can be added to Alibaba Cloud CDN. |
| 400 | InvalidFile | The file is not found. | You have not uploaded the required file. Upload the file before you proceed. |
| 400 | VerifyError | The specified Verify is incorrectly formatted. | The file content verification failed. Try again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.