API · LinkedIn
DELETE /linkedin/accounts/{session}
Disconnect a LinkedIn session
| Request | DELETE /v1/linkedin/accounts/{session} |
| Operation id | linkedin.accounts.disconnect |
| Cost | Free |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Deletes the stored secret for good. Idempotent. Logging out in your browser also ends the session.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
session | string | yes | Example: csn_01J.... |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Disconnected. | |
400 | Invalid input. | Error |
401 | Missing or invalid credentials. | Error |
404 | No connected LinkedIn session with that id among yours. | Error |
Errors use one shape everywhere; see Errors for every code and what to do.