---
title: "Disconnect Slack Install"
method: DELETE
path: "/api/domains/{domain_id}/slack/install"
tags: ["domains"]
---

# Disconnect Slack Install

`DELETE /api/domains/{domain_id}/slack/install`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/slack/install`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Disconnect the workspace: revoke the token with Slack (best-effort — the
row is disarmed regardless), then clear the bot lane if it points at the
installed channel, so the mirror stops trying a channel we can no longer
reach. Webhook-lane fields survive (`apply_bot_lane_cleared`).

## Path parameters

- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Response `200`

Successful Response

- SlackInstallStateResponse: No secret ever rides this: workspace/channel display names only.
  - `available` boolean, required
  - `connected` boolean, required
  - `team_name` string, nullable
  - `channel_label` string, nullable
  - `channel_id` string, nullable
  - `installed_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
