All Products
Search
Document Center

Energy Expert:AISearchResourceDelete

Last Updated:Feb 13, 2026

Delete a structured element from an AISearch project by specifying the resource type and resource ID.

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/aiSearch/resource/delete HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

type

string

Yes

Structured element type

Valid values:

  • product :

    product

  • miniapp :

    miniapp

miniapp

resourceId

string

Yes

Structured element resource ID. This is the unique and immutable identifier for the resource in the database.

WzMGQZwB7nQEs3Qk3ajH

The type field is an enumeration. Only the listed values are supported. Using any other value causes the API to fail. Additional structured element types may be added in future releases.

Response elements

Element

Type

Description

Example

object

Response schema

requestId

string

Request ID

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

data

object

Response data

type

string

Structured element type. Must match the type request parameter.

Valid values:

  • product :

    product

  • miniapp :

    miniapp

miniapp

resourceId

string

Structured element resource ID. This is the unique and immutable identifier for the resource in the database.

WzMGQZwB7nQEs3Qk3ajH

Examples

Success response

JSON format

{
  "requestId": "83A5A7DD-8974-5769-952E-590A97BEA34E",
  "data": {
    "type": "miniapp",
    "resourceId": "WzMGQZwB7nQEs3Qk3ajH"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.