Delete uploaded Kling assets

May 6, 2026

Table of contents

  1. Request Headers
  2. Query Parameters
  3. Responses
  4. Model
  5. Examples
  6. Try It

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=email&id=id

Request Headers
Authorization: Bearer {API token}
Query Parameters
  • email is required — the previously configured account email (see POST /accounts).

  • id is 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 the id field of each item in uploadAssetsList.

Responses
  • 200 OK

    {
      "deleted": 1,
      "ids": ["869218167527833688"]
    }
    

    The response indicates how many assets were deleted and their IDs.

  • 400 Bad Request

    {
      "error": "Parameter id (...) must be a numeric string or a comma-separated list of up to 10 numeric strings"
    }
    
  • 401 Unauthorized

    {
      "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())
    
Try It