CancelAuditTask

Updated at:

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.

Debug

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 resources is 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.

ActionAccess levelResource typeCondition keyDependent action
aimiaobi:CancelAuditTaskupdate
*All resources
*
    None
None

Request parameters

ParameterTypeRequiredDescriptionExample
ContentAuditTaskIdstringNo

Audit task ID (either the task ID or the article ID)

xxx
ArticleIdstringNo

Article ID (either the task ID or the article ID)

xxxx
WorkspaceIdstringNollm-xxx

Response elements

ElementTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request

xxxxx
Successboolean

Indicates whether this request was successful

true
Codestring

Error code

DataNotExists
Messagestring

Error message

Error message
HttpStatusCodeinteger

HTTP status code

400
Databoolean

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.