Skip to main content
DELETE
X account connection API to disconnect a profile
Free. This endpoint does not consume credits.
Use this endpoint when a connected account should no longer be available for write actions, DMs, media upload, or profile updates. It deletes only the stored Xquik connection for that account ID. It does not change the X account itself. After success, the old Xquik account ID returns 404. Reconnect the account to get a new ID.

What disconnect does

Removes this connection

Xquik removes the stored connection row from your account. Future GET /x/accounts/{id} calls for the same ID return 404.

Stops writes immediately

The dashboard Disconnect button uses the same endpoint. It warns that write actions stop immediately. After success, new write, DM, media upload, and profile actions must choose another connected account or reconnect this X account.

Keeps monitors separate

Account and keyword monitors are independent. Disconnecting credentials for @username does not remove monitors that track that username. Delete those monitors separately when tracking should stop.

Reconnect with a new ID

To use the same X account again, call Connect X Account. Store the new account id from the connect response. Do not reuse the deleted ID.

Path parameters

string
required
The unique account ID.

Headers

string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.

Response

200 OK

boolean
Always true on successful disconnection.

400 Invalid ID

The provided account ID is not a valid format.

401 Unauthenticated

Missing or invalid API key.

404 Not found

No account exists with this ID, or it belongs to a different Xquik account.

429 Rate limited

Wait for the Retry-After value before disconnecting another account.
Xquik disconnects the account and permanently deletes stored credentials. This does not affect your X account itself.
Related. List X Accounts to verify the removal, or Connect X Account to add a new one.