Company Tables
Delete Companies Table
Permanently delete a table and all its data. This cannot be undone.
Billing: Free.
DELETE
/
v3
/
companies
/
tables
/
{table_id}
Delete Companies Table
curl --request DELETE \
--url https://api.lusha.com/v3/companies/tables/{table_id} \
--header 'api_key: <api-key>'import requests
url = "https://api.lusha.com/v3/companies/tables/{table_id}"
headers = {"api_key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {api_key: '<api-key>'}};
fetch('https://api.lusha.com/v3/companies/tables/{table_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.delete("https://api.lusha.com/v3/companies/tables/{table_id}")
.header("api_key", "<api-key>")
.asString();package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lusha.com/v3/companies/tables/{table_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("api_key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"tableId": "583021",
"status": "deleted"
}
Authorizations
Your Lusha API key. You can find this in your Lusha dashboard under API settings.
Include this key in the api_key header for all requests.
Path Parameters
The table's ID.
Query Parameters
Email of the user making the request. Used to scope ownership/visibility checks on GET/DELETE calls, which cannot carry a body.
Was this page helpful?
⌘I
Delete Companies Table
curl --request DELETE \
--url https://api.lusha.com/v3/companies/tables/{table_id} \
--header 'api_key: <api-key>'import requests
url = "https://api.lusha.com/v3/companies/tables/{table_id}"
headers = {"api_key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {api_key: '<api-key>'}};
fetch('https://api.lusha.com/v3/companies/tables/{table_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.delete("https://api.lusha.com/v3/companies/tables/{table_id}")
.header("api_key", "<api-key>")
.asString();package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lusha.com/v3/companies/tables/{table_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("api_key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"tableId": "583021",
"status": "deleted"
}