Skip to main content
PATCH
/
lists
/
companies
/
{listId}
Modify a company list
curl --request PATCH \
  --url https://app.tryspecter.com/api/v1/lists/companies/{listId} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "add_ids": [
    "5e3a7f2b0aa7a3270a55f2a7"
  ],
  "delete_ids": [
    "5e3a7f2b0aa7a3270a55f2a7"
  ]
}'
This response does not have an example.

Authorizations

X-API-Key
string
header
required

Path Parameters

listId
string<uuid>
required

The UUID of the list being requested

Body

application/json

Request to add and delete ids

add_ids
string[]

List of companies to add to the list

ID of company being added

delete_ids
string[]

List of companies to remove from the list

ID of company being removed

Response

OK

I