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
string/api/v3/enterprise/configure/tokenCreate a resource token
Creates a resource (fine-grained permissions) token. A resource token is a token that has access to specific resources in the system.
This endpoint is only available in InfluxDB 3 Enterprise.
Request body required
application/jsonexpiry_secs
integerpermissions
required
object[]token_name
required
stringcurl --request POST \
"https://localhost:8181/api/v3/enterprise/configure/token" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{
"expiry_secs": 0,
"permissions": [],
"token_name": "TOKEN_NAME"
}'Responses
expiry_secs
integerpermissions
object[]actions
string[]resource_names
string[]resource_type
stringsystem
, dbtoken_name
string{
"expiry_secs": 300000,
"permissions": [
{
"actions": [
"read"
],
"resource_names": [
"*"
],
"resource_type": "system"
}
],
"token_name": "All system information"
}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 Enterprise and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support. Customers using a trial license can email trial@influxdata.com for assistance.