Mengubah direktori kustom web.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyWebPath |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
No |
Jenis konfigurasi. Nilai tetap: web_path. |
web_path |
| Config |
string |
No |
Informasi konfigurasi jalur web. Dalam format JSON, berisi bidang berikut:
|
{ "webPathType": "customize", "webPath": "/root/www****" } |
| Target |
string |
No |
Aset yang dilindungi oleh perlindungan direktori web. Dalam format JSON, berisi bidang berikut:
|
[{"target":"0186127a-d33e-4d0c-94fb-8f25f87bc69f","targetType":"uuid","flag":"add"}] |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Apakah operasi berhasil. Nilai:
|
true |
| RequestId |
string |
ID permintaan ini, yang merupakan pengidentifikasi unik yang dibuat oleh Alibaba Cloud untuk permintaan ini dan dapat digunakan untuk memecahkan masalah dan melacak isu. |
20623245-7E5E-52CA-9640-7502F119**** |
Contoh
Respons sukses
JSONformat
{
"Success": true,
"RequestId": "20623245-7E5E-52CA-9640-7502F119****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.