/api/slack

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
put/api/slack/settings

Request body

slack-app-tokenstring nullable
slack-bug-report-channelstring nullable

Response

Successful response

Changes