---
title: "Disconnect one LinkedIn account"
method: DELETE
path: "/users/{externalUserId}/linkedin/accounts/{accountId}"
tags: ["Partner"]
---

# Disconnect one LinkedIn account

`DELETE /users/{externalUserId}/linkedin/accounts/{accountId}`

## Request

- Base URL: `https://app.pumpgtm.com/api/partner/v1`
- URL: `https://app.pumpgtm.com/api/partner/v1/users/{externalUserId}/linkedin/accounts/{accountId}`
- Auth: HTTP bearer

Enterprise. Sequences stop sending from this identity; its history is kept. Idempotent: an already disconnected account also returns 200. 404 user_not_found for a user that has not been created; 404 account_not_found; 503 disconnect_failed (retry in a minute).

## Path parameters

- `externalUserId` string, required: Your own id for the end user: letters, digits and _ . : @ -, up to 120 characters.
- `accountId` string, uuid, required

## Response `200`

Successful response. Read outcome fields; success does not imply delivery.

- object
  - `account` object, required
    - `id` string, uuid, required
    - `externalUserId` string, required: Your own id for the end user: letters, digits and _ . : @ -, up to 120 characters.
    - `status` 'disconnected', required

## Other responses

- `400`: Invalid input; for partner keys also user_header_required when the account requires X-PumpGTM-User
- `401`: Missing, invalid or revoked key
- `403`: Workspace mismatch, channel or feature disabled; for partner keys also enterprise_required and user_disabled
- `404`: Resource unavailable in this workspace
- `409`: Revision, identity or state conflict: { error, message } and nothing changed
- `429`: Rate limit; respect Retry-After when provided
- `500`: internal_error: an unexpected failure on our side; retry, then contact PumpGTM
- `503`: Dependency unavailable; identity may be unknown

## Changes

- **2026-10-12** `06d2e4d0e84b`: 8 info
  - the response property `error` became required for the status `400`
  - the response property `error` became required for the status `401`
  - the response property `error` became required for the status `403`
  - the response property `error` became required for the status `404`
  - …4 more
- **2026-10-12** `08c80059d483`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pumpgtm/apis/pumpgtm-api/changes/users/:externalUserId/linkedin/accounts/:accountId/delete.md)

---

[API](https://skmtc.dev/pumpgtm/apis/pumpgtm-api.md) - [All operations](https://skmtc.dev/pumpgtm/apis/pumpgtm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pumpgtm/apis/pumpgtm-api/revisions/06d2e4d0e84b?raw)
