Modifies the sensitive file scan switch.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:OpenSensitiveFileScan |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SwitchOn |
string |
No |
The switch operation. Valid values:
|
on |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters for modifying the sensitive file scan switch. |
||
| Data |
object |
The data returned for modifying the sensitive file scan switch. |
|
| SwitchOn |
string |
The switch operation. Valid values:
|
on |
| Success |
boolean |
The result status of the API call. Valid values:
|
true |
| Code |
string |
The result code. A value of 200 indicates success. Any other value indicates failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The detailed information of the error code. |
successful |
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use this ID to troubleshoot issues. |
B4A4C081-7F06-5481-9323-02A5419B9423 |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"Data": {
"SwitchOn": "on"
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "B4A4C081-7F06-5481-9323-02A5419B9423",
"HttpStatusCode": 200
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.