Hi @VlastaHajek
Thanks for your response.
I use this command to make a new influxdb token (for my telegraf client which can write to a single bucket)
curl --header "Authorization: Token ${TOKEN}" 127.0.0.1:9999/api/v2/authorizations -X POST --data '{ "status": "active", "description": "description", "orgID": "ORG_ID", "userID": "USER_ID", "permissions": [ { "action": "write", "resource": { "type": "buckets", "id": "BUCKET_ID", "orgID": "ORG_ID", "org": "ORG_NAME" } } ] }'
${TOKEN} ins an environment variable which is the token main user on the influxdb server.
This command outputs a JSON document with a new (randomised) token in the .token path
If my client already has a token with value TTT configured can I make a token in influxdb with value TTT?
I can`t see any api documentation allowing me to specify the token’s value.
Is there something I can add to my josn?
Thanks,
Reshad
