---
title: "Disconnect a social account"
method: DELETE
path: "/api/v1/accounts/{id}"
tags: ["Accounts"]
---

# Disconnect a social account

`DELETE /api/v1/accounts/{id}`

## Request

- Base URL: `https://www.poster.ly`
- URL: `https://www.poster.ly/api/v1/accounts/{id}`
- Auth: HTTP bearer

Disconnects a connected social account owned by the caller. This is irreversible: posterly removes the account row, cleans up local profile-picture storage, preserves reconnect metadata for scheduled posts, archives Instagram analytics, and emits `account.disconnected` webhooks.

## Path parameters

- `id` string, required

## Response `200`

Account disconnected successfully

- DisconnectAccountResponse
  - `disconnected` boolean, required
  - `account` Account, required
    - `id` string, required
    - `platform` string, required
    - `username` string, nullable
    - `account_type` string, nullable
    - `profile_picture_url` string, nullable
    - `workspace_id` string, nullable
    - `workspace_client_id` string, nullable
    - `location_id` string, nullable: Google Business only: the numeric location id to pass as location_id to GBP tools. Not the ChIJ... Place ID.
    - `connection_mode` 'meta' | 'instagram_direct', nullable: Instagram only: whether the account is Meta/Facebook-linked or connected with Instagram Login.
    - `instagram_tagging` object, nullable: Instagram only: account-specific support and post-type rules for caption mentions, native media user tags, and collaborators.
  - `stamped_post_count` integer, required
  - `transferred_to_account_id` integer, nullable, required
  - `transferred_post_count` integer, required
  - `archived_analytics` object, required
    - `snapshots` integer
    - `syncStatus` boolean
  - `restored_analytics` object, nullable, required
    - `snapshots` integer
    - `syncStatus` boolean

## Other responses

- `400`: Validation error
- `401`: Invalid or missing API key
- `404`: Resource not found
- `429`: Too many requests

---

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