Modifies a custom web directory.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyWebPath |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
No |
Configuration item type. Set to web_path. |
web_path |
| Config |
string |
No |
Web directory configuration in JSON format. Fields:
|
{ "webPathType": "customize", "webPath": "/root/www****" } |
| Target |
string |
No |
Protected asset for the web directory in JSON format. Fields:
|
[{"target":"0186127a-d33e-4d0c-94fb-8f25f87bc69f","targetType":"uuid","flag":"add"}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Whether the request succeeded. Valid values:
|
true |
| RequestId |
string |
Request ID for troubleshooting. |
20623245-7E5E-52CA-9640-7502F119**** |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "20623245-7E5E-52CA-9640-7502F119****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.