Auth token
/api/v3/configure/tokenDelete token
Parameters
Query parameters
token_name
required
stringcurl --request DELETE \
"https://localhost:8181/api/v3/configure/token?token_name=TOKEN_NAME" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
string/api/v3/configure/token/adminCreate admin token
curl --request POST \
"https://localhost:8181/api/v3/configure/token/admin" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
created_at
string <date-time>expiry
string <date-time>hash
stringid
integername
stringtoken
string{
"created_at": "2025-04-18T14:02:45.331Z",
"expiry": null,
"hash": "00xx0Xx0xx00XX0x0",
"id": 0,
"name": "_admin",
"token": "apiv3_00xx0Xx0xx00XX0x0"
}data
objecterror
string/api/v3/configure/token/admin/regenerateRegenerate admin token
curl --request POST \
"https://localhost:8181/api/v3/configure/token/admin/regenerate" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
created_at
string <date-time>expiry
string <date-time>hash
stringid
integername
stringtoken
string{
"created_at": "2025-04-18T14:02:45.331Z",
"expiry": null,
"hash": "00xx0Xx0xx00XX0x0",
"id": 0,
"name": "_admin",
"token": "apiv3_00xx0Xx0xx00XX0x0"
}data
objecterror
string/api/v3/configure/token/named_adminCreate named admin token
Request body required
application/jsonexpiry_secs
integertoken_name
required
stringcurl --request POST \
"https://localhost:8181/api/v3/configure/token/named_admin" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{
"expiry_secs": 0,
"token_name": "TOKEN_NAME"
}'Responses
created_at
string <date-time>expiry
string <date-time>hash
stringid
integername
stringtoken
string{
"created_at": "2025-04-18T14:02:45.331Z",
"expiry": null,
"hash": "00xx0Xx0xx00XX0x0",
"id": 0,
"name": "_admin",
"token": "apiv3_00xx0Xx0xx00XX0x0"
}data
objecterror
stringWas this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB 3 Core and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.