Memanggil DeleteObject untuk menghapus satu file.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DeleteObject |
delete |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ObjectKey |
string |
Yes |
Nama objek. |
image5 |
| BucketName |
string |
Yes |
Nama bucket. |
tets |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
A5626B44-0189-443E-9816-D951F596CC89 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A5626B44-0189-443E-9816-D951F596CC89"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 500 | InternalError | The request processing has failed due to some unknown error | |
| 403 | AccessDenied | Auth is not valid. | |
| 403 | UserDisable | The user has been disabled due to arrears. | |
| 404 | NoSuchBucket | The specified bucket does not exist. | |
| 404 | NoSuchKey | The specified key does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.