---
search:
  tags:
    - settings
    - POST
seo:
  description: >-
    Makes a random token and returns it once. The… Reference for the POST
    /api/v1/settings/monitoring/mirror/token endpoint in the TimescaleDB
    Enterprise API.
  noindex: true
sidebar:
  label: Make a new mirroring token
  badge: POST
title: Make a new mirroring token
type: openapi-operation
---
Makes a random token and returns it once. The console keeps only its hash. The old token stops at once.

`POST /api/v1/settings/monitoring/mirror/token`

**Responses**

- `200` — OK
- `default` — Error

Response example, 200:

```json
{
  "created_at": "2019-08-24T14:15:22Z",
  "token": "string"
}
```
