---
title: "Update reporting settings"
method: PATCH
path: "/api/v1/analytics/settings"
tags: ["Reporting Settings"]
---

# Update reporting settings

`PATCH /api/v1/analytics/settings`

Updates the current settings

## Request body

- object
  - `delimiter` string, required — The delimiter character used for CSV or TXT exports
  - `escapeSpecialCharacters` boolean, required — Whether to escape special characters in TXT exports (e.g. quotes, newlines)
  - `disableQuotes` boolean, required — Whether to disable enclosing all values with double quotes in TXT exports. This is useful for handling special characters or values that contain the delimiter character. It's problematic if values contain double quotes themselves.
  - `exportFormat` 'csv' | 'xlsx' | 'json' | 'txt' | 'parquet' | 'pdf', required — Export format for reports
  - `numberFormattingMode` 'raw' | 'locale', required — Number formatting mode that should be applied when visualizing numbers (does not affect exports)

## Response `204`

Operation completed successfully, no response body

## Other responses

- `400` — IETF RFC 9457 Problem API compliant response
- `401` — Unable to authenticate the client
- `403` — Unable to authorize the client
- `415` — Resource representation send in the request is not supported.

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
