Menghapus resource share.
Deskripsi operasi
Setelah resource share dihapus, semua principal di dalam resource share tersebut tidak dapat lagi mengakses sumber daya yang ada di dalamnya. Namun, sumber daya tersebut tidak ikut dihapus bersama resource share.
Resource share yang dihapus berada dalam status Deleted. Sistem akan menghapus catatan resource share dalam waktu 48 jam hingga 96 jam.
Topik ini menyediakan contoh cara memanggil operasi API untuk menghapus resource share rs-qSkW1HBY**** di region cn-hangzhou.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceShareId |
string |
Yes |
ID dari resource share. |
rs-qSkW1HBY**** |
Untuk informasi selengkapnya tentang parameter permintaan umum, lihat Parameter umum.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
A627EE2A-223D-4E1F-A954-394686AEA916 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A627EE2A-223D-4E1F-A954-394686AEA916"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter.ResourceShareId | You must specify ResourceShareId. | |
| 400 | InvalidParameter.ResourceShareId | The ResourceShareId is invalid. | |
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 404 | EntityNotExists.ResourceShare | The resource share does not exist in the current account. | |
| 409 | ResourceShareStatusMismatchAction | The status of the resource share does not allow the specified operation. | |
| 409 | DeleteResourceShareConflict | You cannot delete a resource share while there are unfinished tasks. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.