---
title: "Modifies Data Aggregator in the system by accepting data in the request body with ID"
method: PUT
path: "/aggregator"
tags: ["Aggregator"]
---

# Modifies Data Aggregator in the system by accepting data in the request body with ID

`PUT /aggregator`

## Request body

- DataAggregatorDTO
  - `id` integer
  - `name` string
  - `args` ArgumentDTO[]
    - `id` integer
    - `name` string
    - `description` string
  - `script` string
  - `active` boolean

## Response `200`

Data Aggregator has been successfully updated

- DataAggregatorDTO
  - `id` integer
  - `name` string
  - `args` ArgumentDTO[]
    - `id` integer
    - `name` string
    - `description` string
  - `script` string
  - `active` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Error
- `502` — Bad Gateway

## Changes

> 3 revisions in range; 1 not diffed.

- **2026-07-30** `82ed767ffb65` — 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`

[Change history](https://skmtc.dev/opencelium/apis/opencelium-api/changes/aggregator/put.md)

---

[API](https://skmtc.dev/opencelium/apis/opencelium-api.md) · [All operations](https://skmtc.dev/opencelium/apis/opencelium-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opencelium/opencelium-api/revisions/82ed767ffb65/schema)
