---
title: "The command to modify OpenTelemetry trace file export configuration"
method: PUT
path: "/configuration/open-telemetry-trace-file-export"
tags: ["OpenTelemetry"]
---

# The command to modify OpenTelemetry trace file export configuration

`PUT /configuration/open-telemetry-trace-file-export`

## Request body

- ModifyOpenTelemetryTraceFileExportConfigurationCommand
  - `Enabled` boolean, required
  - `MaxStorageSizeMegabytes` integer, required
  - `RetentionDays` integer, required

## Response `200`

The configuration response for modifying OpenTelemetry trace file export configuration

- ModifyOpenTelemetryTraceFileExportConfigurationResponse
  - `Enabled` boolean, required
  - `MaxStorageSizeMegabytes` integer, required
  - `RetentionDays` integer, required

## Other responses

- `400` — Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404` — Not found. One or more of the entities involved in the operation was not found.

---

[API](https://skmtc.net/octopus/apis/octopus-server-api.md) · [All operations](https://skmtc.net/octopus/apis/octopus-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octopus/octopus-server-api/versions/bc9158facfc7/schema)
