# disconnectSlack

Disconnect the organization's Slack workspace (the Integrations page's Slack Disconnect). Slack notifications stop. Connecting again needs the customer's own login in the app (getIntegrationSetupUrls), so confirm with the user first. Organization admins only.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "disconnectSlack", "variables": {...} }`
- Scope: `ADMIN`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

None.

## Response (data, an example)

```json
{
  "oauthMutation": {
    "revokeSlackIntegration": {
      "connected": true
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "disconnectSlack",
    "variables": {}
  }'
```
