Request Erasure
Remove one person from every workspace of your organization: their paths (as prospect or
connector), engagement links, notes and workspace prospects. Your CRM data
stays as it is. Each workspace’s connected warehouses get an immediate export pass, and a person.erased webhook is sent when it is done.
It runs in the background: the answer is 202 with the erasure. Read its progress with
Get Erasure. Asking again for a person whose erasure is still pending or running, or
repeating an Idempotency-Key, returns that erasure with 200.
Scope: erasures:write. Ask for it when your key is created.
curl --request POST \
--url https://api.clustr-ai.com/api/org/v1/erasures \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"gdpr_subject": false
}
'import requests
url = "https://api.clustr-ai.com/api/org/v1/erasures"
payload = {
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"gdpr_subject": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({linkedin_url: 'https://www.linkedin.com/in/jane-doe', gdpr_subject: false})
};
fetch('https://api.clustr-ai.com/api/org/v1/erasures', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.clustr-ai.com/api/org/v1/erasures",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'linkedin_url' => 'https://www.linkedin.com/in/jane-doe',
'gdpr_subject' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.clustr-ai.com/api/org/v1/erasures"
payload := strings.NewReader("{\n \"linkedin_url\": \"https://www.linkedin.com/in/jane-doe\",\n \"gdpr_subject\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.clustr-ai.com/api/org/v1/erasures")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"linkedin_url\": \"https://www.linkedin.com/in/jane-doe\",\n \"gdpr_subject\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.clustr-ai.com/api/org/v1/erasures")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedin_url\": \"https://www.linkedin.com/in/jane-doe\",\n \"gdpr_subject\": false\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "9b2f4a1c-6d3e-4f7a-8c5b-2e1d0f9a7c63",
"status": "pending",
"gdpr_subject": true,
"tenants_total": 3,
"tenants_done": 0,
"profile_erased": true,
"tenants": [
{
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deleted": {
"opportunities": 14,
"notes": 1
},
"exports_triggered": [
"snowflake"
],
"error": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"person_id": "<string>",
"error": "<string>",
"completed_at": "2023-11-07T05:31:56Z"
}
}{
"success": true,
"data": {
"id": "9b2f4a1c-6d3e-4f7a-8c5b-2e1d0f9a7c63",
"status": "pending",
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"gdpr_subject": false,
"tenants_total": 0,
"tenants_done": 0,
"profile_erased": false,
"tenants": [],
"created_at": "2026-10-14T10:00:00Z"
}
}{
"success": false,
"error": {
"code": "BAD_REQUEST",
"message": "Give linkedin_url or person_id."
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or revoked API key"
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "This key lacks the tenants:write scope"
}
}{
"success": false,
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests"
}
}{
"success": false,
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The organization service is unavailable"
}
}Authorizations
Organization API key (clo_...). The X-API-Key header is also accepted in place of Authorization: Bearer.
Headers
Your own key for this request, 1 to 200 characters. Repeating it returns the erasure the first request made.
1 - 200Body
Give linkedin_url or person_id.
The person's LinkedIn profile URL, or its slug.
"https://www.linkedin.com/in/jane-doe"
A person id from Clustr, or a LinkedIn member id.
true only when this is the person's own GDPR erasure request. Their profile is then erased from Clustr entirely.
curl --request POST \
--url https://api.clustr-ai.com/api/org/v1/erasures \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"gdpr_subject": false
}
'import requests
url = "https://api.clustr-ai.com/api/org/v1/erasures"
payload = {
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"gdpr_subject": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({linkedin_url: 'https://www.linkedin.com/in/jane-doe', gdpr_subject: false})
};
fetch('https://api.clustr-ai.com/api/org/v1/erasures', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.clustr-ai.com/api/org/v1/erasures",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'linkedin_url' => 'https://www.linkedin.com/in/jane-doe',
'gdpr_subject' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.clustr-ai.com/api/org/v1/erasures"
payload := strings.NewReader("{\n \"linkedin_url\": \"https://www.linkedin.com/in/jane-doe\",\n \"gdpr_subject\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.clustr-ai.com/api/org/v1/erasures")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"linkedin_url\": \"https://www.linkedin.com/in/jane-doe\",\n \"gdpr_subject\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.clustr-ai.com/api/org/v1/erasures")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedin_url\": \"https://www.linkedin.com/in/jane-doe\",\n \"gdpr_subject\": false\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "9b2f4a1c-6d3e-4f7a-8c5b-2e1d0f9a7c63",
"status": "pending",
"gdpr_subject": true,
"tenants_total": 3,
"tenants_done": 0,
"profile_erased": true,
"tenants": [
{
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deleted": {
"opportunities": 14,
"notes": 1
},
"exports_triggered": [
"snowflake"
],
"error": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"person_id": "<string>",
"error": "<string>",
"completed_at": "2023-11-07T05:31:56Z"
}
}{
"success": true,
"data": {
"id": "9b2f4a1c-6d3e-4f7a-8c5b-2e1d0f9a7c63",
"status": "pending",
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"gdpr_subject": false,
"tenants_total": 0,
"tenants_done": 0,
"profile_erased": false,
"tenants": [],
"created_at": "2026-10-14T10:00:00Z"
}
}{
"success": false,
"error": {
"code": "BAD_REQUEST",
"message": "Give linkedin_url or person_id."
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or revoked API key"
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "This key lacks the tenants:write scope"
}
}{
"success": false,
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests"
}
}{
"success": false,
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The organization service is unavailable"
}
}