Modifies the status of sensitive files in an image.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SensitiveFileKey | string | No | The alert type of the sensitive file. Valid values:
| pem |
ImageUuids | string | No | The UUID of the image. Separate multiple UUIDs with commas (,). | f382fccd88b94c5c8c864def6815b854,ac32fccd88b94c5c8c864def6815bo9z |
Status | integer | No | The status of the sensitive file. Valid values:
| 0 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Data": {
"Id": 18551
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "20456DD5-5CBF-5015-9173-12CA4246****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.