> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shinzo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Unlink Slack Account

> Remove the Slack account binding from an agent.

## Authentication

Requires JWT token or Platform API key via `Authorization: Bearer <token>` header.

<ParamField path="id" type="string" required>Agent UUID</ParamField>

## Example Request

```bash theme={null}
curl -X DELETE https://api.app.shinzo.ai/v1/agent/a1b2c3d4-e5f6-7890-abcd-ef1234567890/slack/unlink \
  -H "Authorization: Bearer <token>"
```

## Example Response

```json theme={null}
{
  "message": "Slack account unlinked successfully"
}
```

<Note>
  Unlinking deactivates the channel binding. The agent will no longer receive messages from Slack or be able to send messages to the linked Slack user.
</Note>

## Status Codes

| Code  | Description                                      |
| ----- | ------------------------------------------------ |
| `200` | Slack account unlinked successfully              |
| `401` | Unauthorized - invalid or missing authentication |
| `404` | Agent not found or no Slack account linked       |
