CancelAuditTask
Cancel an audit task.
Debug
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Authorization information
The following table lists the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles the permission to call this API. For more information, see the following:
-
Action: the specific permission point.
-
Access level: the access level of each operation. Valid values: Write, Read, and List.
-
Resource type: the resource types that the operation supports for authorization. For more information, see the following:
- Required resource types are marked with a leading asterisk (*).
- 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 also have the permissions of the dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:CancelAuditTask | update | *All resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| ContentAuditTaskId | string | No | Audit task ID (either the task ID or the article ID) | xxx |
| ArticleId | string | No | Article ID (either the task ID or the article ID) | xxxx |
| WorkspaceId | string | No | llm-xxx |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | Id of the request | xxxxx |
| Success | boolean | Indicates whether this request was successful | true |
| Code | string | Error code | DataNotExists |
| Message | string | Error message | Error message |
| HttpStatusCode | integer | HTTP status code | 400 |
| Data | boolean | Indicates whether the cancellation succeeded | true |
Examples
Success response
JSON format
{
"RequestId": "xxxxx",
"Success": true,
"Code": "DataNotExists",
"Message": "错误消息",
"HttpStatusCode": 400,
"Data": true
}
Error codes
For more error codes, visit the Error Center.