Deleting Audit Logs
API Description
This API is used to delete audit logs.
URI
|
Name |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID of a tenant in a region. Obtain the project ID by following the instructions in Obtaining a Project ID. |
|
instance_id |
Yes |
String |
Instance ID, which can be obtained by calling the API described in Querying Instances and Details. If you do not have an instance, call the API described in Creating a DB Instance to create one. |
Request Parameters
|
Parameter |
Type |
IN |
Mandatory |
Description |
|---|---|---|---|---|
|
X-Auth-Token |
string |
header |
Yes |
User token |
|
Name |
Mandatory |
Type |
Description |
|---|---|---|---|
|
file_names |
Yes |
Array of strings |
File name list. |
- Example request
{ "file_names" : [ "054bc9f81e80d2201fccc00b92ad6ec0_audit_log_65ca506de9904366bdf69ca8174250abin02_dda6bd25f6b043518f9574befabc9536no02_1660354924651", "054bc9f81e80d2201fccc00b92ad6ec0_audit_log_65ca506de9904366bdf69ca8174250abin02_dda6bd25f6b043518f9574befabc9536no02_1660354987726" ] }
Response Parameters
- Parameter description
Table 4 Response body parameters Parameter
Type
Description
job_id
String
Task ID.
- Example response
{ "job_id" : "bf26cf3c-d046-4080-bb45-f114be7afa5f" }
Status Code
For details, see Status Code.
Error Code
For details, see Error Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot