Skip to main content
POST
Update Companies

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
companyIds
integer[]
required

IDs of the saved companies to update.

Required array length: 1 - 500 elements
Example:
listIds
integer[]

IDs of the lists to apply. The lists must already belong to you; an unknown ID fails the request. May be empty only with listAction replace, which clears every list off the companies.

Maximum array length: 50
Example:
listAction
enum<string>
default:add

How listIds is applied. add keeps the lists the companies are already in, remove drops only the supplied lists, and replace makes the supplied lists their complete set of lists.

Available options:
add,
remove,
replace
Example:

"add"

Response

The companies that were updated

success
boolean
Example:

true

data
object