All Products
Search
Document Center

Energy Expert:DeleteDocument

Last Updated:Sep 22, 2025

Deletes a parsed file. You can call this operation by passing the task ID of the file that you want to delete. The operation returns true if the deletion is successful, or false otherwise.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

DELETE /api/v1/aidoc/document/delete HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

taskId

string

No

The task ID. You can get this ID from the product's frontend interface or from other API operations.

74ec62f4f4e74e5882d4086a40f2b9c6

Response elements

Element

Type

Description

Example

object

The response data.

requestId

string

The ID of the request.

83A5A7DD-8974-5769-952E-590A97BEA34E

data

boolean

Indicates whether the request was successful. A value of true indicates success. A value of false indicates failure.

Examples

Success response

JSON format

{
  "requestId": "83A5A7DD-8974-5769-952E-590A97BEA34E",
  "data": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.