Mengubah izin kelompok berbagi gambar.
API ini telah ditinggalkan. Kami merekomendasikan migrasi ke Ecs(2014-05-26) - ModifyImageSharePermission guna memperoleh fungsionalitas yang lebih baik dan dukungan berkelanjutan. Meskipun API yang telah ditinggalkan ini masih dapat diakses sementara, tidak akan ada pembaruan atau perbaikan bug lebih lanjut.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:ModifyImageShareGroupPermission |
update |
*Image.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
||
| ImageId |
string |
Yes |
||
| AddGroup.1 |
string |
No |
||
| RemoveGroup.1 |
string |
No |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Contoh
Respons sukses
JSONformat
{
"RequestId": ""
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The input parameter "RegionId" that is mandatory for processing this request is not supplied. | |
| 400 | Forbbiden | User not authorized to operate on the specified resource. | |
| 404 | InvalidImageId.NotFound | The specified ImageId does not exist. | Image yang ditentukan tidak ada di akun ini. Verifikasi bahwa ID image benar. |
| 404 | InvalidGroup.Malformed | The specified parameter "AddGroup.n" or "RemoveGroup.n" does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.