---
title: "Deactivate a connector for the current consumer (at organization, workspace or user level)."
method: POST
path: "/v1/connectors/{connector_id}/{consumer_scope}/deactivate"
tags: ["beta.connectors"]
---

# Deactivate a connector for the current consumer (at organization, workspace or user level).

`POST /v1/connectors/{connector_id}/{consumer_scope}/deactivate`

Disable a connector for the calling consumer only.

## Path parameters

- `connector_id` string, uuid, required
- `consumer_scope` 'user' | 'workspace' | 'organization', required

## Response `200`

Successful Response

- MessageResponse
  - `message` string, required

## Other responses

- `422` — Validation Error

---

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