---
title: "Deactivate Terminal"
method: POST
path: "/deactivateTerminal"
tags: ["Merchant Portal services API"]
---

# Deactivate Terminal

`POST /deactivateTerminal`

Deactivates teminal by given TerminalId.<br>
Required role for operation: TE_MERCHANT_TERMINAL_MANAGEMENT.<br>
Create MPauditlog table record with event type : DeactivateTerminal<br>
Supported authentication:<br>
* Bearer &lt;token&gt; - which is a Bearer token authentication<br>

## Request body

- DeactivateTerminalRequest
  - `terminalId` integer, required
  - `deactivationReason` string, required

## Response `200`

Successful operation

- DeactivateTerminalResponse
  - `responseCode` integer
  - `responseMessage` string
  - `packageOrderUuid` string
  - `corporateUuid` string
  - `productOrderUuid` string

## Other responses

- `400` — * Terminal not found * Mandator not found * MandatorConfig not found
- `401` — Unauthorized - Authentication failed, e.g. MandatorId does not march
- `403` — Forbidden - Missing role: TE_MERCHANT_TERMINAL_MANAGEMENT
- `500` — * Internal server error * Tecscompany2Tecsterm record not found * Tecscompany record not found

---

[API](https://skmtc.dev/bluefin-com/apis/merchant-services.md) · [All operations](https://skmtc.dev/bluefin-com/apis/merchant-services/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bluefin-com/merchant-services/revisions/84e973bef72c/schema)
