Delete element

January 12, 2026 (October 20, 2026)

Table of contents

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

This endpoint deletes a specific element by its ID. Use GET /elements to list your elements and get their IDs.

https://api.useapi.net/v1/kling/elements/elementId?…

Request Headers
Authorization: Bearer {API token}
Path Parameters
  • elementId is required, the element ID to delete.
Query Parameters
  • email is optional with one account. With more than one, pass the email of the account that created the element: without it, the request goes to one of your accounts (429 while every account is at its maxJobs) and may not find the element.
Responses
Model
{ // TypeScript
  deleted: number
}
Examples
  • curl -X DELETE "https://api.useapi.net/v1/kling/elements/[email protected]" \
       -H "Authorization: Bearer ..."
    
  • const token = "API token";
    const email = "Previously configured account email";
    const elementId = "u_123456789012345";
    const apiUrl = `https://api.useapi.net/v1/kling/elements/${elementId}?email=${email}`;
    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"
    elementId = "u_123456789012345"
    apiUrl = f"https://api.useapi.net/v1/kling/elements/{elementId}?email={email}"
    headers = {
        "Authorization" : f"Bearer {token}"
    }
    response = requests.delete(apiUrl, headers=headers)
    print(response, response.json())
    
Try It