ClearIntervenes
Clears all intervention content.
Debug
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.
RAM authorization
The following table describes the authorization information of this API. You can use the Action element in RAM policy statements to grant RAM users or RAM roles the permission to call this API. Details are as follows:
-
Operation: the specific permission point.
-
Access level: the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization in the operation. Details are as follows:
- Required resource types are marked with an asterisk (*) prefix.
- For operations that do not support resource-level authorization,
All Resourcesis used.
-
Condition key: the condition keys defined by the cloud service itself.
-
Dependent action: other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:ClearIntervenes | delete | *All Resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| AgentKey | string | Yes | Unique identifier of the workspace: AgentKey | xxxxx_p_efm |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | PlainResult | ||
| Code | string | Status code | success |
| Data | object | Business data | |
| FailIdList | array | List of failed index IDs | |
| FailIdList | string | ID of the failed intervention item | "1234" |
| TaskId | string | Task ID | 3f7045e099474ba28ceca1b4eb6d6e21 |
| Code | integer | Status code returned by the intervention service | 200 |
| HttpStatusCode | integer | HTTP status code | 200 |
| Message | string | Error message | success |
| RequestId | string | Unique request identifier | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Whether the request is successful: true for success, false for failure | true |
Examples
Success response
JSON format
{
"Code": "success",
"Data": {
"FailIdList": [
1234
],
"TaskId": "3f7045e099474ba28ceca1b4eb6d6e21",
"Code": 200
},
"HttpStatusCode": 200,
"Message": "success",
"RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
"Success": true
}
Error codes
Visit the Error Center to view more error codes.