---
title: "Set Slack Execution Mode"
method: POST
path: "/api/slack/execution-mode"
tags: ["slack"]
---

# Set Slack Execution Mode

`POST /api/slack/execution-mode`

Set where the user's inbound Slack runs (cloud or their own machine).

Per-account: applies to every one of the user's live installs so the
choice is consistent across workspaces. Reassigns ``config`` to a new
dict so SQLAlchemy's JSON column detects the change.

## Request body

- ExecutionModeBody
  - `mode` 'cloud' | 'local', required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

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