---
title: "Disconnect an X account (free, SIWX)"
method: DELETE
path: "/api/x-accounts/{handle}"
tags: ["Accounts"]
---

# Disconnect an X account (free, SIWX)

`DELETE /api/x-accounts/{handle}`

## Request

- Base URL: `https://twitr.sh`
- URL: `https://twitr.sh/api/x-accounts/{handle}`
- Auth: API key in header `SIGN-IN-WITH-X`

## Path parameters

- `handle` string, required

## Response `200`

{ok: true, handle}.

## Other responses

- `402`: Identity Required.
- `404`: This wallet has no such connected account.

---

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