element_id from the query response (not the task_id). Only custom elements can be deleted — Kling preset elements cannot be deleted.
Quick example
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
element_id | string | Yes | Element ID from elements[].element_id in the query response |
Response
| Field | Description |
|---|---|
code | 0 on success |
message | SUCCEED on success |
request_id | Request tracking ID |
API Reference
View the interactive API playground for Kling Delete Element.