Delete element

January 12, 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 when only one account configured. However, if you have multiple accounts configured, this parameter becomes required.
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_300171730302481";
    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_300171730302481"
    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