Make a Customer Free (operator only)
li_set_team_complimentaryOPERATOR ONLY. Reads or sets whether a CUSTOMER (team) is FREE — the same control as the Free switch beside Seats in the Teams table on the dashboard's Users & access page. Name the team by teamId or the email of anyone in it. complimentary: true puts EVERY LinkedIn account the team holds on complimentary access (full paid abilities, never billed, no trial, no subscribe link) and makes every account it connects later start complimentary. complimentary: false only stops new accounts being free — the accounts it already holds STAY complimentary (end one with li_set_account_complimentary), so nobody loses access by this switch. Free never changes the seat limit: complimentary accounts count toward it, so a free team with a limit of 1 holding one account is full (raise the limit on the Users page). reason is stored on each account's plan note. Omit complimentary to read the current state and seats (used / limit, complimentary count).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The sign-in email of anyone in the team | ||
| reason | No | Why — stored on each account as the plan note, e.g. "founding partner" | |
| teamId | No | Team id (or use the email of anyone in it) | |
| complimentary | No | true = the team is free, false = new accounts are no longer free |