Send only the caps to change, by key; the others keep their value. Each value is saved as a whole number within the range GET returns for the sender's plan: a value above max is saved as max, one below 0 as 0, and a fraction is rounded. Send null to drop the sender's own value: the cap then follows its plan's default again, also when the plan or its default changes later. The response has the same shape as GET, with the values saved, so read limit to see what was applied. 400 with code: invalid-limit for an empty body, an unknown key, or a value that is neither a number nor null.
warmup sets its own LinkedIn warm-up, alone or with caps: inherit (its workspace's warm-up settings decide), off (full speed now), on (start now on the workspace's ramp, even when those settings are off) or custom (start now on its own ramp). An account already warming keeps its day. 400 with code: invalid-warmup, and every reason in details.errors, for a setting that can't be taken; nothing is saved then, caps included.
Authorization
bearerAuth An API key created on the Access tokens page.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The caps to change, by key, and/or its warmup (at least one). Each cap is saved within the plan's range; null drops the sender's own value, so the cap follows its plan default again.
1 <= propertiesResponse Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/accounts/string/limits" \ -H "Content-Type: application/json" \ -d '{ "connectionRequests": 20, "messages": 30, "connectionRequestsPerWeek": 100, "follows": null }'{ "data": { "accountId": "string", "tier": "free", "daily": [ { "key": "connectionRequests", "label": "string", "used": 0, "limit": 0, "default": 0, "min": 0, "max": 0 } ], "rolling": [ { "key": "connectionRequests", "label": "string", "used": 0, "limit": 0, "default": 0, "min": 0, "max": 0 } ], "weeklyWindowDays": 0, "warmup": { "mode": "inherit", "status": "off", "ramp": { "start": 1, "step": 1, "everyDays": 1 }, "rampSource": "account", "target": 0, "startedAt": "2019-08-24T14:15:22Z", "day": 0, "fullSpeedAt": "2019-08-24T14:15:22Z", "today": { "connectionRequests": 0, "messages": 0, "inmails": 0, "profileViews": 0, "follows": 0, "postLikes": 0, "postComments": 0 } } }}Sync account information POST
Refresh this sender account's LinkedIn profile (name, headline, picture, public identifier) and paid-plan flag from LinkedIn, then return the updated account. Useful right after connecting, or when the stored identity looks stale. Fails with 400 when the account is not connected yet or LinkedIn returns no profile.
Change the LinkedIn warm-up settings PATCH
Sets the acting workspace's own settings (the organization's, without the header). Send only the fields to change: the others keep the value in force, so a workspace that follows its organization starts from the organization's values. A workspace's own settings replace its organization's as a whole; send `{"inherit": true}`, alone, to drop them and follow the organization again. `autoStart` decides whether an account starts warming up on its own, once, when it is connected for the first time: `never`, `new` (when it looks new, by `newAccount`) or `all`. Turning it on never slows accounts that are already connected; start or stop one by hand with PATCH /accounts/{id}/limits. A value out of range is refused, never clamped: 400 with `code: invalid-warmup` and every reason in `details.errors`.