---
title: "Admin Delete Linkedin Account"
method: POST
path: "/api/v1/admin/linkedin-accounts/{account_id}/delete"
tags: ["admin"]
---

# Admin Delete Linkedin Account

`POST /api/v1/admin/linkedin-accounts/{account_id}/delete`

## Request

- Base URL: `https://api.nudgelink.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nudgelink.co/api/v1/admin/linkedin-accounts/{account_id}/delete`
- Auth: HTTP bearer

Delete a LinkedIn account row (e.g. a dead seat that 404s on Unipile).
Dependent sequences / runs have ``account_id`` SET NULL by FK, so history is
preserved (not cascade-deleted). Row-locked + audited.

## Path parameters

- `account_id` string, uuid, required

## Request body

- DeleteAccountRequest
  - `reason` string, required

## Response `200`

Successful Response

- DeleteAccountResponse
  - `id` string, uuid, required
  - `deleted` boolean, required
  - `provider_disconnected` boolean, nullable

## Other responses

- `422`: Validation Error

---

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