---
title: "Activate or Deactivate an ECU, or Report an ECU as Damaged."
method: PUT
path: "/api/v2/AftermarketServices/ECUs/{serialNumber}"
tags: ["AftermarketServices"]
---

# Activate or Deactivate an ECU, or Report an ECU as Damaged.

`PUT /api/v2/AftermarketServices/ECUs/{serialNumber}`

## Request

- Base URL: `https://secure.agco-ats.com`
- URL: `https://secure.agco-ats.com/api/v2/AftermarketServices/ECUs/{serialNumber}`
- Auth: none declared

No Documentation Found.

## Path parameters

- `serialNumber` string, required

## Query parameters

- `EDTInstanceId` string, required

## Request body

- AGCOPowerServicesModelsECU: An AGCO Power ECU
  - `SerialNumber` string, required: The serial number of the ECU
  - `EngineSerialNumber` string, required: The serial number of the ECU’s engine
  - `ReplacesECUSerialNumber` string: The serial number of the ECU that this ECU replaces. Required if activating an ECU..
  - `State` 'Active' | 'Inactive' | 'Damaged', required: The state of the ECU
  - `ActivationCode` string, byte: The code used to activate the ECU. May not be modified. Returned only on activation.
  - `DamagedDescription` string: A description why the ECU cannot be deactivated.

## Response `200`

OK

- AGCOPowerServicesModelsECU: An AGCO Power ECU
  - `SerialNumber` string, required: The serial number of the ECU
  - `EngineSerialNumber` string, required: The serial number of the ECU’s engine
  - `ReplacesECUSerialNumber` string: The serial number of the ECU that this ECU replaces. Required if activating an ECU..
  - `State` 'Active' | 'Inactive' | 'Damaged', required: The state of the ECU
  - `ActivationCode` string, byte: The code used to activate the ECU. May not be modified. Returned only on activation.
  - `DamagedDescription` string: A description why the ECU cannot be deactivated.

## Other responses

- `default`: API Error Response

---

[API](https://skmtc.dev/agco-ats/apis/agco-ats-api.md) - [All operations](https://skmtc.dev/agco-ats/apis/agco-ats-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agco-ats/apis/agco-ats-api/revisions/8b416443df5c?raw)
