Skip to content
TimescaleDB Enterprise
Esc
↑↓navigate↵open⌘Jpreview

Make a new mirroring token

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
Authorization
tse_sessionAPI key · cookierequired
Responses
200

OK

created_atstring<date-time>required
tokenstringrequired

The new token. The console shows it only in this answer

default

Error

codestring

Stable code of the refusal, when the route has codes

detailsstring[]

Additional detail, e.g. per-field validation failures

errorstringrequired

Human-readable error message

Request
curl -X POST 'https://console.example.com/api/v1/settings/monitoring/mirror/token' \
  -H 'Cookie: tse_session=YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
{
  "created_at": "2019-08-24T14:15:22Z",
  "token": "string"
}