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

Delete List

Delete a list that is not bound to any agent.

Deletes a list and its membership links (the canonical companies/people are shared and never deleted). A list that is still bound to one or more agents cannot be deleted — unbind it first (see Update agent, pass both watchlist_kind: null and watchlist_id: null).

Delete list

DELETE/api/v2/partner/workspaces/{partner_workspace_id}/lists/{kind}/{list_id}

Path parameters

ParameterTypeDescription
partner_workspace_idstringOpaque workspace identifier from the partner system.
kindstringList kind: company or profile (matches the list type).
list_idintegerIdentifier of the list.

Example request

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

Example response

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

Errors

StatusDescription
401The API key is missing or invalid.
404The list does not exist in your workspace.
409The list is bound to one or more agents; unbind them first.
422Invalid list_id — must be a positive integer.
429Too many requests.

On this page