---
title: "Unlink a Slack account"
method: DELETE
path: "/api/{org_id}/slack/links/{link_id}"
tags: ["Slack"]
---

# Unlink a Slack account

`DELETE /api/{org_id}/slack/links/{link_id}`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/slack/links/{link_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/slack/links/:link_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

The owner unlinks their own link; an admin of this organization may unlink a member of it. The Slack user is not linked automatically again in that workspace.

## Path parameters

- `org_id` string, required
- `link_id` string, required

## Response `204`

Unlinked

## Other responses

- `403`: Not the owner and not an admin, or the OSS build
- `404`: Slack is not enabled for this organization, or no such link for this organization's members

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
