---
title: "Terminate MCP connection"
method: POST
path: "/integrations/mcp/connections/{mcp_connection}/actions/terminate"
tags: ["mcp-connections"]
---

# Terminate MCP connection

`POST /integrations/mcp/connections/{mcp_connection}/actions/terminate`

## Request

- Base URL: `https://example.scalr.io/api/iacp/v3`
- URL: `https://example.scalr.io/api/iacp/v3/integrations/mcp/connections/{mcp_connection}/actions/terminate`
- Auth: HTTP bearer

Revoke all refresh tokens and pending authorization codes for this account, user and
OAuth client registration. After termination completes, access tokens issued for
this connection are rejected at their next authentication.
Repeating this action preserves the original termination time. The user can reconnect
by explicitly authorizing the application again.

## Path parameters

- `mcp_connection` string, required

## Response `204`

Connection terminated.

## Other responses

- `403`: User unauthorized to perform this action.
- `404`: Account or connection not found or inaccessible.
- `503`: Connection is busy; retry the request.
- `4XX`: Client error.
- `5XX`: Server error.

## Changes

- **2026-11-03** `d3e1dc85657a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/scalr/apis/scalr-iacp-api/changes/integrations/mcp/connections/:mcp_connection/actions/terminate/post.md)

---

[API](https://skmtc.dev/scalr/apis/scalr-iacp-api.md) - [All operations](https://skmtc.dev/scalr/apis/scalr-iacp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scalr/apis/scalr-iacp-api/revisions/d3e1dc85657a?raw)
