---
title: "PUT /api/slack/settings"
method: PUT
path: "/api/slack/settings"
tags: ["/api/slack"]
---

# PUT /api/slack/settings

`PUT /api/slack/settings`

Update Slack related settings. You must be a superuser to do this. Also updates the slack-cache.
  There are 3 cases where we alter the slack channel/user cache:
  1. falsy token           -> clear
  2. invalid token         -> clear
  3. truthy, valid token   -> refresh

## Request body

- object
  - `slack-app-token` string, nullable
  - `slack-bug-report-channel` string, nullable

## Response `2XX`

Successful response

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

---

[API](https://skmtc.net/metabase/apis/metabase-api.md) · [All operations](https://skmtc.net/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metabase/metabase-api/revisions/08b5a2bafb4f/schema)
