Skip to main content
PATCH
Update Companies Table

Authorizations

api_key
string
header
required

Your Lusha API key. You can find this in your Lusha dashboard under API settings. Include this key in the api_key header for all requests.

Path Parameters

table_id
string
required

The table's ID.

Body

application/json

name, visibility, and archived are all optional - send any subset; omitted fields stay unchanged. Sending none of them is a no-op. A partial update re-reads the persisted table first, so fields you don't send are never clobbered.

owner
object
required

Identifies the user acting on the table, and resolves to a user on your account. Required on every table-route call when authenticating with an API key (there is no signed-in user) - omitting it returns 400. Optional for OAuth/token callers, since the caller is already identified by the token; still accepted if you want to act on behalf of another owner.

name
string

New name, up to 250 characters. Allowed: letters in any language, digits, spaces, and - _ . , ' & ( ) / # + : ! ? @. Other characters - including [ ], emojis, symbols, and invisible characters such as line breaks, tabs, and zero-width spaces - are rejected with 400. Leading and trailing spaces are trimmed, and repeated spaces are collapsed to one.

Required string length: 1 - 250
Example:

"renamed"

visibility
enum<string>
Available options:
private,
shared
Example:

"shared"

archived
boolean

Set true to archive the table (hides it from default List Tables results), false to restore it.

Example:

true

Response

Table updated

data
object

Response payload for Get Table - TableDto fields plus live entity/column counts.

billing
object

Credit usage summary for a V3 API request