Delete uploaded Kling assets
May 6, 2026
Table of contents
This endpoint deletes one or more assets that you previously uploaded to your Kling account via POST /assets. Deleted assets cannot be recovered.
To delete generated assets (outputs), use DELETE /tasks/task_id instead.
https://api.useapi.net/v1/kling/assets/uploaded/?email=
id
Request Headers
Authorization: Bearer {API token}
API tokenis required, see Setup useapi.net for details.
Query Parameters
-
emailis required — the previously configured account email (see POST /accounts). -
idis required — the uploaded asset ID, or a comma-separated list of up to 10 numeric IDs.
Asset IDs are returned by GET /assets/uploaded in theidfield of each item inuploadAssetsList.
Responses
-
{ "deleted": 1, "ids": ["869218167527833688"] }The response indicates how many assets were deleted and their IDs.
-
{ "error": "Parameter id (...) must be a numeric string or a comma-separated list of up to 10 numeric strings" } -
{ "error": "Unauthorized", "code": 401 }
Model
{ // TypeScript, all fields are optional
deleted: number // Number of uploaded assets deleted
ids: string[] // Array of deleted asset IDs
}
Examples
-
curl -X DELETE "https://api.useapi.net/v1/kling/assets/uploaded/?email=user@example.com&id=869218167527833688" \ -H "Accept: application/json" \ -H "Authorization: Bearer …" -
const token = "API token"; const email = "Previously configured account email"; const id = "869218167527833688"; // single id, or "id1,id2,id3" up to 10 const apiUrl = `https://api.useapi.net/v1/kling/assets/uploaded/?email=${email}&id=${id}`; const response = await fetch(apiUrl, { method: "DELETE", headers: { "Authorization": `Bearer ${token}`, }, }); const result = await response.json(); console.log("response", {response, result}); -
import requests token = "API token" email = "Previously configured account email" id = "869218167527833688" # single id, or "id1,id2,id3" up to 10 apiUrl = f"https://api.useapi.net/v1/kling/assets/uploaded/?email={email}&id={id}" headers = { "Authorization" : f"Bearer {token}" } response = requests.delete(apiUrl, headers=headers) print(response, response.json())