Mengubah otorisasi proyek.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:ModifyProjectAuthorization |
update |
*Instans.
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans Host Bastion. Catatan
Anda dapat memanggil operasi DescribeInstances untuk mendapatkan parameter ini. |
bastionhost-cn-st220aw**** |
| RegionId |
string |
No |
ID wilayah instans Host Bastion. Catatan
Untuk pemetaan antara ID wilayah dan nama wilayah, lihat Wilayah dan zona. |
cn-hangzhou |
| AuthorizationId |
integer |
Yes |
ID otorisasi proyek yang akan diubah. Catatan
Anda dapat memanggil operasi ListProjectAuthorizations untuk mendapatkan parameter ini. |
1 |
| Name |
string |
No |
Nama baru otorisasi proyek. |
name |
| Description |
string |
No |
Deskripsi baru otorisasi proyek. |
demo |
| ScopeType |
integer |
No |
Cakupan (dalam OAuth) aset yang dapat dikelola oleh otorisasi setelah diubah. Nilai valid:
Valid values:
|
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
Pengidentifikasi unik yang dihasilkan oleh Alibaba Cloud untuk permintaan. |
EC9BF0F4-8983-491A-BC8C-1B4DD94976DE |
Contoh
Respons sukses
JSONformat
{
"RequestId": "EC9BF0F4-8983-491A-BC8C-1B4DD94976DE"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.