---
title: "Cancel Whatsapp Selfhosted Pair"
method: POST
path: "/api/channels/whatsapp/auth/selfhosted/cancel/{session_id}"
tags: ["channels", "channels", "whatsapp"]
---

# Cancel Whatsapp Selfhosted Pair

`POST /api/channels/whatsapp/auth/selfhosted/cancel/{session_id}`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/channels/whatsapp/auth/selfhosted/cancel/{session_id}`
- Auth: none declared

Abandon an in-flight self-hosted pairing (wizard closed before scan).

Deletes the placeholder channel_account row the bridge needed to key the
session on, so an unscanned QR doesn't leave a permanent
"WhatsApp (pending pair ...)" entry in the Connected list.

## Path parameters

- `session_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/d84e7dc9977d?raw)
