> ## Documentation Index
> Fetch the complete documentation index at: https://docs.linkupapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Connection

> Remove a 1st-degree connection.

## Overview

Removes a member from the account's connections, like "Remove connection" in LinkedIn. To cancel a pending invitation, use [Withdraw Invitation](https://docs.linkupapi.com/api-reference/v2/network/withdraw.md).

* The member is not notified.
* The follow is removed on both sides, so no [Unfollow](https://docs.linkupapi.com/api-reference/v2/network/follow.md) call is needed.

> [!NOTE]
>
> This endpoint consumes **1 credit** per request. Ignore this if you're on per-seat pricing: usage is unlimited.

## Request

**x-api-key** `string` *required*

Your API key for authentication.

**account\_id** `string` *required*

The unique identifier of the account to use.

**action** `string` *required*

Must be `"remove_connection"`.

**params** `object` *required*

**params properties**

**profile\_url** `string` *required*

Profile URL, slug, member id (`ACoAA…`) or `urn:li:fsd_profile:…` URN.

## Response

**data** `object`

**data properties**

**removed** `boolean`

`true` when the connection was removed.

**profile\_id** `string`

Member id (`ACoAA…`).

**profile\_urn** `string`

`urn:li:fsd_profile:…` URN.

**public\_identifier** `string`

Profile slug.

```json 200 theme={null}
{
  "success": true,
  "data": {
    "removed": true,
    "profile_id": "ACoAAEMT_nsB5U1uon01_EjK9Yf4En52jDd2hGE",
    "profile_urn": "urn:li:fsd_profile:ACoAAEMT_nsB5U1uon01_EjK9Yf4En52jDd2hGE",
    "public_identifier": "eliott-cerpaud"
  },
  "metadata": {
    "action": "remove_connection",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-12-05T10:46:54Z"
  }
}
```

```json 422 — Not a connection theme={null}
{
  "success": false,
  "error": {
    "code": "CHANNEL_ERROR",
    "message": "This member is not a 1st-degree connection of the account (never was, or already removed).",
    "sub_code": "NOT_A_CONNECTION"
  },
  "metadata": {
    "action": "remove_connection",
    "credits_consumed": 1,
    "timestamp": "2026-12-05T10:47:01Z"
  }
}
```

```json 400 — Profile not found theme={null}
{
  "success": false,
  "error": {
    "code": "INVALID_PARAMS",
    "message": "Profile not found",
    "sub_code": "PROFILE_NOT_FOUND"
  },
  "metadata": {
    "action": "remove_connection",
    "credits_consumed": 0,
    "timestamp": "2026-12-05T10:47:01Z"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.