Remove Accounts

Remove accounts from your top account list by domain or LinkedIn URL.

Synchronously removes the provided accounts from the workspace's top account list. Returns 200 with the count of accounts actually deleted. This operation is idempotent — submitting an account that is not in the list is not an error; deleted_count reflects only what was actually removed and will be 0 if nothing matched.

Identifiers must match what was originally submitted: domain matching is exact (lowercased), and linkedin_url is normalized before comparison. A www.acme.com entry will not match a stored acme.com entry.

Remove accounts

POST/api/v2/top-account-list/accounts/remove

Request body

FieldTypeRequiredDescription
accountsarrayYesAccounts to remove. Minimum 1 entry, maximum 10,000 entries. Each entry must include at least one of linkedin_url or domain.

Each account item:

FieldTypeRequiredDescription
linkedin_urlstringOne of twoLinkedIn company URL.
domainstringOne of twoCompany domain (e.g. acme.com).

Example request

curl -X POST "https://api.getsillage.com/api/v2/top-account-list/accounts/remove" \
  -H "Authorization: Bearer $SILLAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accounts": [
      { "domain": "acme.com" }
    ]
  }'
const response = await fetch(
  'https://api.getsillage.com/api/v2/top-account-list/accounts/remove',
  {
    method: 'POST',
    headers: {
      Authorization: `Bearer ${process.env.SILLAGE_API_KEY}`,
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      accounts: [{ domain: 'acme.com' }],
    }),
  },
)

const result = await response.json()
import { request } from 'node:https'

const body = JSON.stringify({
  accounts: [{ domain: 'acme.com' }],
})

const req = request(
  new URL('https://api.getsillage.com/api/v2/top-account-list/accounts/remove'),
  {
    method: 'POST',
    headers: {
      Authorization: `Bearer ${process.env.SILLAGE_API_KEY}`,
      'Content-Type': 'application/json',
      'Content-Length': Buffer.byteLength(body),
    },
  },
  (res) => {
    let data = ''
    res.on('data', (chunk) => {
      data += chunk
    })
    res.on('end', () => {
      console.log(JSON.parse(data))
    })
  },
)

req.write(body)
req.end()
import os
import requests

response = requests.post(
    "https://api.getsillage.com/api/v2/top-account-list/accounts/remove",
    json={
        "accounts": [{"domain": "acme.com"}]
    },
    headers={"Authorization": f"Bearer {os.environ['SILLAGE_API_KEY']}"},
    timeout=30,
)
response.raise_for_status()
result = response.json()

Example response

{
  "deleted_count": 1,
  "message": "Accounts removed from top account list"
}

Response fields

FieldTypeDescription
deleted_countintegerNumber of accounts actually removed. 0 if none of the provided identifiers matched.
messagestringConfirmation message.

On this page