Mencabut izin aplikasi dari identitas yang ditentukan. Identitas dapat berupa Pengguna RAM atau Peran RAM.
Deskripsi operasi
You can grant a maximum of 10 application permissions to a RAM user or RAM role.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DetachAppPolicyFromIdentity |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| IdentityType |
string |
Yes |
Tipe identitas. Nilai valid:
|
RamUser |
| IdentityName |
string |
Yes |
ID Pengguna RAM atau nama Peran RAM.
|
test****name |
| AppId |
string |
No |
ID aplikasi. Parameter ini bersifat opsional jika Anda menetapkan PolicyNames ke VODAppAdministratorAccess. Parameter ini wajib jika Anda menetapkan PolicyNames ke nilai selain VODAppAdministratorAccess.
|
app-**** |
| PolicyNames |
string |
Yes |
Nama Kebijakan. Pisahkan beberapa nama dengan koma (,). Hanya kebijakan sistem yang didukung.
|
VODAppFullAccess |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
25818875-5F78-4A13-****-D7393642C |
| NonExistPolicyNames |
array |
The name of the policy that was not found. |
|
|
string |
The name of the policy that was not found. |
test****1 |
|
| FailedPolicyNames |
array |
The names of the policies that failed to be granted to the RAM user or RAM role. |
|
|
string |
The name of the policy that failed to be granted to the RAM user or RAM role. |
test****2 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "25818875-5F78-4A13-****-D7393642C",
"NonExistPolicyNames": [
"test****1"
],
"FailedPolicyNames": [
"test****2"
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.