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 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

ParameterTypeDescription
partner_workspace_idstringOpaque workspace identifier from the partner system.
idstringcompany_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

FieldTypeDescription
data.removedbooleanAlways true in a 200 response.

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, or no account matches the given id ("Top account not found").
422Invalid id path parameter.
429Too many requests.
500An unexpected server error occurred.

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

On this page