API v3 is live and in beta: expect possible malfunctions and breaking changes in the coming days. If you find a bug, please report it to your Sillage contact.
v2DeprecatedTop Account List

Remove Accounts

Remove target accounts from a partner workspace's top account list.

Removes accounts from the partner workspace's top account list by domain or LinkedIn URL. Returns 200 with the count of accounts actually deleted. Idempotent — submitting an account not in the list is not an error.

Remove accounts

POST/api/v2/partner/workspaces/{partner_workspace_id}/top-account-list/accounts/remove

Path parameters

ParameterTypeDescription
partner_workspace_idstringOpaque workspace identifier from the partner system.

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/partner/workspaces/ws_123/top-account-list/accounts/remove" \
  -H "Authorization: Bearer $SILLAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accounts": [
      { "domain": "acme.com" }
    ]
  }'

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.

Errors

StatusMeaning
401The master key is missing or invalid.
403The master key is not authorized to access this resource.
404No workspace found for this partner_workspace_id.
422Invalid request body.
429Too many requests.
500An unexpected server error occurred.

Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.

On this page