---
search:
  tags:
    - terminal
    - POST
seo:
  description: >-
    Reference for the POST /v1/terminal-readers/{terminalReaderId}/decommission
    endpoint in the Vortex Payments API.
sidebar:
  label: POST /v1/terminal-readers/{terminalReaderId}/decommission
  badge: POST
title: POST /v1/terminal-readers/{terminalReaderId}/decommission
type: openapi-operation
---
`POST /v1/terminal-readers/{terminalReaderId}/decommission`

**curl**

```bash
curl "https://api.vortex.nyc/v1/terminal-readers/:terminalReaderId/decommission" \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
```

**TypeScript**

```ts
import { decommissionTerminalReader, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await decommissionTerminalReader({
  client: vortex,
  path: { terminalReaderId: "..." },
  body: {...},
});
```

**Request body** (`application/json`, required)

- `environment` (string | null)
- `merchantAccountId` (string | null)

Request body example:

```json
{
  "environment": "sandbox",
  "merchantAccountId": "string"
}
```

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "id": "string",
    "merchantAccountId": "string",
    "locationId": "string",
    "label": "string",
    "registrationStatus": "registered",
    "healthStatus": "healthy",
    "connectivityStatus": "online",
    "deviceType": "string",
    "serialNumberMasked": "string",
    "nextAction": "none",
    "createdAt": "string",
    "updatedAt": "string"
  },
  "requestId": "string"
}
```
