Home / Companies / InfluxData / Blog / Post Details
Content Deep Dive

TL;DR InfluxDB Tech Tips; Creating Tokens with the InfluxDB API

Blog post from InfluxData

Post Details
Company
Date Published
Author
Anais Dotis-Georgiou
Word Count
1,589
Language
English
Hacker News Points
-
Summary

The InfluxDB v2 API provides a unified approach for querying, writing data to, and assessing the health of an InfluxDB instance. Tokens are used for secure data flow between an InfluxDB instance and its users, belonging to organizations. To create tokens, one needs an All Access token, orgID, and payload structure, which includes permissions such as read and write actions on authorizations and buckets. Tokens can be created with different scopes, including a full access token or a token scoped to a specific bucket. The InfluxDB v2 API also allows listing all tokens or a specific token by providing the auth ID as part of the path parameter.