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
| Parameter | Type | Description |
|---|---|---|
| partner_workspace_id | string | Opaque workspace identifier from the partner system. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| accounts | array | Yes | Accounts to remove. Minimum 1 entry, maximum 10,000 entries. Each entry must include at least one of linkedin_url or domain. |
Each account item:
| Field | Type | Required | Description |
|---|---|---|---|
| linkedin_url | string | One of two | LinkedIn company URL. |
| domain | string | One of two | Company 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
| Field | Type | Description |
|---|---|---|
| deleted_count | integer | Number of accounts actually removed. 0 if none of the provided identifiers matched. |
| message | string | Confirmation message. |
Errors
| Status | Meaning |
|---|---|
| 401 | The master key is missing or invalid. |
| 403 | The master key is not authorized to access this resource. |
| 404 | No workspace found for this partner_workspace_id. |
| 422 | Invalid request body. |
| 429 | Too many requests. |
| 500 | An unexpected server error occurred. |
Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.