Skip to main content
DELETE
/
api
/
late
/
accounts
Disconnect a social account
curl --request DELETE \
  --url https://app.puffle.ai/api/late/accounts \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Overview

Cascading disconnect by ?accountId=<internal social_accounts id>:
  1. Revokes the Late side via lateClient.disconnectAccount
  2. Deletes the Late profile (our model is 1 profile ↔ 1 account)
  3. Deletes the social_accounts row
  4. Deletes the user_profiles row
Steps 2–4 are best-effort — failures are logged but do not surface as errors. Step 1 is required for success.

AI agent notes

Irreversible. To reconnect, the human must run the OAuth flow again via connectLateAccount — agents cannot complete OAuth headlessly.Safety — confirm with the human before calling. Disconnecting an account terminates any scheduled posts tied to it (those posts were mirrored to Late under this account’s session).ID shape — pass the internal social_accounts.id (UUID), not Late’s opaque late_account_id.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

accountId
string<uuid>
required

Internal social_accounts.id (NOT the Late account ID). Passed as ?accountId=<uuid>.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

Account disconnected.

success
enum<boolean>
required
Available options:
true