Skip to main content

DeleteAuditNote

Deletes all custom rule libraries available for audit under the user account. This operation is irreversible. To archive rule libraries, use the DownloadAuditNote API to save them before deletion.

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 describes the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant a RAM user or RAM role 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 for the operation. Details are as follows:
    • 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 operation: other permissions required to successfully perform the operation. The caller must have the permissions of all dependent operations for the operation to succeed.
OperationAccess levelResource typeCondition keyDependent operation
aimiaobi:DeleteAuditNotedelete
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
WorkspaceIdstringYes

The unique identifier of an Alibaba Cloud Model Studio workspace: Get the Workspace ID

llm-xx
NoteIdstringNo

Rule library ID. If left blank, Default is used.

Response parameters

NameTypeDescriptionExample value
object

Schema of Response

RequestIdstring

Id of the request

F2F366D6-E9FE-1006-BB70-2C650896AAB5
Successboolean

Indicates whether the request was successful.

true
Codestring

Status code

DataNotExists
Messagestring

Error description

success
HttpStatusCodeinteger

HTTP status code

200
Datastring

Deletion result. "SUCCESSED" is returned if the deletion is successful.

SUCCESSED

Examples

Success response JSON format
{
  "RequestId": "F2F366D6-E9FE-1006-BB70-2C650896AAB5",
  "Success": true,
  "Code": "DataNotExists",
  "Message": "success",
  "HttpStatusCode": 200,
  "Data": "SUCCESSED"
}

Error codes

Visit the Error Center to view more error codes.

Change history

Change timeChange summaryOperation
2025-11-11OpenAPI request parameters changedView change details