---
title: "Save Trendz settings (saveTrendzSettings)"
method: POST
path: "/api/trendz/settings"
tags: ["trendz-controller"]
---

# Save Trendz settings (saveTrendzSettings)

`POST /api/trendz/settings`

Saves Trendz settings for this tenant.


Here is an example of the Trendz settings:
```json
{
  "enabled": true,
  "baseUrl": "https://some.domain.com:18888/also_necessary_prefix"
}
```

Available for users with 'TENANT_ADMIN' authority.

## Request body

- TrendzSettings
  - `enabled` boolean
  - `baseUrl` string
  - `apiKey` string

## Response `200`

OK

- TrendzSettings
  - `enabled` boolean
  - `baseUrl` string
  - `apiKey` string

---

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