Skip to main content
POST
Unsave leads in Sales Navigator
This endpoint acts on the LinkedIn Sales Navigator account connected to your Pipecorn account, so it needs valid LinkedIn credentials. Identify each lead by its LinkedIn member URN (urn:li:member:<id>). The LinkedIn connection is checked before LinkedIn is called: a missing or expired connection answers 422 with "LinkedIn credentials not found. Please connect your LinkedIn account." or "LinkedIn credentials expired. Update your connection on Pipecorn interface". Reconnect LinkedIn from the app and retry. This endpoint does not take a live parameter. When LinkedIn rejects the request itself, the endpoint answers with LinkedIn’s status and an error message: 401 if LinkedIn rejects the session during the call, 429 when LinkedIn rate-limits you, and 502 otherwise (see Rate Limiting).

Authorizations

X-API-KEY
string
header
required

Your API key

Headers

Idempotency-Key
string

A unique value you generate per operation, such as a UUID. Retrying with the same key and the same body returns the stored response instead of running the request again, so a retry after a timeout never charges twice. Successful responses are kept for 24 hours; a failed request is not stored and can be retried with the same key.

Maximum string length: 255
Example:

"4f1c2e9a-8a7d-4c1b-9f63-2d6e0b5a7c11"

Body

application/json
members
string[]
required

LinkedIn member URNs of the leads to unsave

Example:

Response

Leads unsaved on LinkedIn

message
string
Example:

"Members unsaved successfully"