v2DeprecatedTop Account List
Remove Account By Id
Remove a single account from a partner workspace's top account list by its company id.
Removes a single account from the top account list by its company_id, as returned by Get top account list or List accounts. Returns 404 if no matching account is found.
Remove account by id
DELETE/api/v2/partner/workspaces/{partner_workspace_id}/top-account-list/accounts/{id}
Path parameters
| Parameter | Type | Description |
|---|---|---|
| partner_workspace_id | string | Opaque workspace identifier from the partner system. |
| id | string | company_id of the account to remove, as returned by the list endpoints. |
Example request
curl -X DELETE "https://api.getsillage.com/api/v2/partner/workspaces/ws_123/top-account-list/accounts/456" \
-H "Authorization: Bearer $SILLAGE_API_KEY"Example response
{
"data": {
"removed": true
}
}Response fields
| Field | Type | Description |
|---|---|---|
| data.removed | boolean | Always true in a 200 response. |
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, or no account matches the given id ("Top account not found"). |
| 422 | Invalid id path parameter. |
| 429 | Too many requests. |
| 500 | An unexpected server error occurred. |
Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.