Company
Date Published
Author
Anais Dotis-Georgiou
Word count
1589
Language
English
Hacker News points
None

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.