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.

Delete List

Delete a list that is not bound to any agent. Reversible.

Deletes a list. It stops being returned by every endpoint — it is gone as far as the API is concerned — but nothing is destroyed: its members and its membership history are kept, and Restore list brings it back exactly as it was. The companies and people themselves are shared across your workspace and are never deleted either way.

A list that is still bound to one or more agents cannot be deleted — unbind it first (see Update agent, pass watchlist_id: null).

A list that is the only one left for its tier cannot be deleted — create another list of that tier first. The Tier 1, Tier 2 and Tier 3 lists every workspace starts with follow the same rule as any other list: they can be deleted as long as another list covers their tier. The employee list, "All my employees", can never be deleted. Archiving follows the same rule.

Before deleting, read is_deletable and not_deletable_reason on the list.

To take a list out of the way without deleting it, archive it instead: pass archived: true to Update list.

Delete list

DELETE/api/v2/lists/{kind}/{list_id}

Path parameters

ParameterTypeDescription
kindstringList kind: company or profile (matches the list type).
list_idintegerIdentifier of the list. Specific to your environment.

Example request

curl -X DELETE "https://api.getsillage.com/api/v2/lists/company/128" \
  -H "Authorization: Bearer $SILLAGE_API_KEY"

Example response

{
  "data": { "id": 128 }
}

Errors

StatusDescription
401The API key is missing or invalid.
402Your workspace has no active plan. title is "Paywall required" and type is https://docs.getsillage.com/errors/paywall-required. Start your trial or choose a plan at https://www.getsillage.com/paywall, then retry.
404The list does not exist in your workspace.
409The list is bound to one or more agents (unbind them first), it is the only list of its tier (create another list of that tier first), an agent reads it, or it is the employee list, "All my employees".
422Invalid kind or list_id.
429Too many requests.
500An unexpected server error occurred.

On this page