---
title: "Disconnect X account"
method: DELETE
path: "/x/accounts/{id}"
tags: ["X Accounts"]
---

# Disconnect X account

`DELETE /x/accounts/{id}`

Disconnects one X account and removes stored session access.

## Path parameters

- `id` string, required

## Response `200`

Success

- object
  - `success` true, required

## Other responses

- `400` — Invalid input
- `401` — Unauthenticated
- `404` — Not found
- `429` — Xquik tier rate limit exceeded. The response includes a `Retry-After` header with the number of seconds to wait before retrying.

## Changes

> 11 revisions in range; 2 could not be searched.

- **2026-08-19** `73cd0a1d989c` — 72 warning
  - added the new `closed` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `closed` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `closed` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `400`
  - added the new `closed` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - …68 more
- **2026-08-12** `d5855df0e349` — 24 warning
  - added the new `coverage_cursor_gone` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `coverage_cursor_gone` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `coverage_cursor_gone` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `400`
  - added the new `coverage_cursor_gone` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - …20 more

[Change history](https://skmtc.dev/xquik-dev/apis/xquik-api-3/changes/x/accounts/:id/delete.md)

---

[API](https://skmtc.dev/xquik-dev/apis/xquik-api-3.md) · [All operations](https://skmtc.dev/xquik-dev/apis/xquik-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xquik-dev/xquik-api-3/revisions/3e010a962d32/schema)
