Enterprise
x-enterprise-only: true for programmatic detection./api/v3/authorizeRequest body required
application/jsoncurl --request POST \
"https://localhost:8181/api/v3/authorize" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json"Responses
/api/v3/authorize/refreshRequest body required
application/jsoncurl --request POST \
"https://localhost:8181/api/v3/authorize/refresh" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json"Responses
/api/v3/authorize/reset-passwordRequest body required
application/jsoncurl --request POST \
"https://localhost:8181/api/v3/authorize/reset-password" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json"Responses
/api/v3/configure/query_concurrency_limitGet the query concurrency limit
Returns the current runtime limit on the maximum number of queries that can run concurrently. When the limit is set to the maximum allowed value, maxConcurrentQueries is omitted from the response.
This endpoint is only available in InfluxDB 3 Enterprise.
curl --request GET \
"https://localhost:8181/api/v3/configure/query_concurrency_limit" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
max_concurrent_queries
integer{
"max_concurrent_queries": 32
}data
objecterror
stringdata
objecterror
string/api/v3/configure/query_concurrency_limitSet the query concurrency limit
Sets the runtime limit on the maximum number of queries that can run concurrently. Omit max_concurrent_queries (or set it to null) to restore the limit configured at server startup.
Values below 16 are rejected unless force=true is set in the query string. A value of 0 is invalid, and values above the maximum allowed limit are rejected.
This endpoint is only available in InfluxDB 3 Enterprise.
Parameters
Query parameters
force
booleantrue to allow setting max_concurrent_queries to a value below the minimum of 16.Request body required
application/jsonmax_concurrent_queries
integernull (or omit) to restore the limit configured at server startup. Must be a positive integer; values below 16 require force=true.{
"max_concurrent_queries": 32
}curl --request PUT \
"https://localhost:8181/api/v3/configure/query_concurrency_limit" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{"max_concurrent_queries":32}'Responses
Request failed. Possible reasons:
- Invalid database name
- Malformed request body
- Invalid timestamp precision
data
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/configure/query_concurrency_limitReset the query concurrency limit
Resets the runtime query concurrency limit to the value configured at server startup.
This endpoint is only available in InfluxDB 3 Enterprise.
curl --request DELETE \
"https://localhost:8181/api/v3/configure/query_concurrency_limit" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
stringdata
objecterror
string/api/v3/configure/tableUpdate a table
Request body required
application/jsondb
required
stringretention_period
string"30d"table
required
stringcurl --request PUT \
"https://localhost:8181/api/v3/configure/table" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{
"db": "DB",
"retention_period": "30d",
"table": "TABLE"
}'Responses
data
objecterror
string/api/v3/configure/userRequest body required
application/jsoncurl --request POST \
"https://localhost:8181/api/v3/configure/user" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json"Responses
/api/v3/enterprise/backupList backups
Lists all full backups.
Requires an admin (operator) token. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
curl --request GET \
"https://localhost:8181/api/v3/enterprise/backup" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
backups
required
object[]data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/backupStart a backup
Registers and asynchronously starts a full backup. Returns immediately with the resolved backup name and an in-progress acknowledgement.
Backups run asynchronously. Poll List backups or Get a backup to track progress.
Requires an admin (operator) token. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
Request body required
application/jsonforce
booleanname
stringtype
required
stringfull backups are supported.full{
"force": false,
"name": "nightly-backup",
"type": "full"
}curl --request POST \
"https://localhost:8181/api/v3/enterprise/backup" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{"force":false,"name":"nightly-backup","type":"full"}'Responses
backup_name
required
stringstatus
required
string{
"backup_name": "nightly-backup",
"status": "in_progress"
}Request failed. Possible reasons:
- Invalid database name
- Malformed request body
- Invalid timestamp precision
data
objecterror
stringdata
objecterror
stringdata
objecterror
stringforce is false, or a duplicate backup job is already in flight.data
objecterror
stringdata
objecterror
string/api/v3/enterprise/backupCancel a running backup
Cancels an in-progress backup job by name.
Requires an admin (operator) token or admin user. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
Request body required
application/jsonname
required
string{
"name": "nightly-backup"
}curl --request DELETE \
"https://localhost:8181/api/v3/enterprise/backup" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{"name":"nightly-backup"}'Responses
backup_name
required
string{
"backup_name": "nightly-backup"
}Request failed. Possible reasons:
- Invalid database name
- Malformed request body
- Invalid timestamp precision
data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/backup/{name}Get a backup
Returns a single backup’s manifest.
Requires an admin (operator) token or admin user. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
Parameters
Path parameters
name
required
stringcurl --request GET \
"https://localhost:8181/api/v3/enterprise/backup/{name}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/backup/{name}Delete a backup
Deletes a backup by name.
Requires an admin (operator) token or admin user. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
Parameters
Path parameters
name
required
stringcurl --request DELETE \
"https://localhost:8181/api/v3/enterprise/backup/{name}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
backup_name
required
stringtype
required
string{
"backup_name": "nightly-backup",
"type": "full"
}data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/configure/file_indexCreate a file index
Creates a file index for a database or table.
A file index improves query performance by indexing data files based on specified columns, enabling the query engine to skip irrelevant files during query execution.
This endpoint is only available in InfluxDB 3 Enterprise.
Request body required
application/jsoncolumns
required
string[]db
required
stringtable
string{
"columns": [
"tag1",
"tag2"
],
"db": "mydb",
"table": "mytable"
}curl --request POST \
"https://localhost:8181/api/v3/enterprise/configure/file_index" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{"columns":["tag1","tag2"],"db":"mydb","table":"mytable"}'Responses
data
objecterror
string/api/v3/enterprise/configure/file_indexDelete a file index
Deletes a file index from a database or table.
This endpoint is only available in InfluxDB 3 Enterprise.
Request body required
application/jsondb
required
stringtable
string{
"db": "mydb",
"table": "mytable"
}curl --request DELETE \
"https://localhost:8181/api/v3/enterprise/configure/file_index" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{"db":"mydb","table":"mytable"}'Responses
data
objecterror
string/api/v3/enterprise/configure/node/stopMark a node as stopped
Marks a node as stopped in the catalog, freeing up the licensed cores it was using for other nodes.
Use this endpoint after you have already stopped the physical instance (for example, using kill or stopping the container). This endpoint does not shut down the running process — you must stop the instance first.
When the node is marked as stopped:
- Licensed cores from the stopped node are freed for reuse
- Other nodes in the cluster see the update after their catalog sync interval
This endpoint is only available in InfluxDB 3 Enterprise.
Related
Request body required
application/jsonnode_id
required
string{
"node_id": "node-1"
}curl --request POST \
"https://localhost:8181/api/v3/enterprise/configure/node/stop" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{"node_id":"node-1"}'Responses
data
objecterror
string/api/v3/enterprise/configure/table/retention_periodSet table retention period
Sets or updates the retention period for a specific table.
Use this endpoint to control how long data in a table is retained independently of the database-level retention period.
This endpoint is only available in InfluxDB 3 Enterprise.
Related
Parameters
Query parameters
db
required
stringtable
required
stringduration
required
stringcurl --request POST \
"https://localhost:8181/api/v3/enterprise/configure/table/retention_period?db=DB&table=TABLE&duration=DURATION" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
string/api/v3/enterprise/configure/table/retention_periodClear table retention period
Removes the retention period from a specific table, reverting to the database-level retention period (or infinite retention if no database-level retention is set).
This endpoint is only available in InfluxDB 3 Enterprise.
Related
Parameters
Query parameters
db
required
stringtable
required
stringcurl --request DELETE \
"https://localhost:8181/api/v3/enterprise/configure/table/retention_period?db=DB&table=TABLE" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
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
string/api/v3/enterprise/importList bulk import statuses
Lists the status of all uploaded bulk import jobs.
Requires an admin (operator) token. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag).
This endpoint is only available in InfluxDB 3 Enterprise.
curl --request GET \
"https://localhost:8181/api/v3/enterprise/import" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/importUpload a Parquet file for bulk import
Uploads a Parquet file, and optional column metadata, for bulk import into an existing table. The compactor node asynchronously picks up and imports the file. Returns the staged import job info synchronously after the upload is staged.
Requires an admin (operator) token. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag); the compactor node runs the bulk import scheduler that completes the import.
This endpoint is only available in InfluxDB 3 Enterprise.
Request body required
application/jsoncurl --request POST \
"https://localhost:8181/api/v3/enterprise/import" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: multipart/form-data"Responses
column_metadata
stringcompleted_at
integer <int64>created_at
required
integer <int64>db_id
required
integerfilename
required
stringiox_parquet
required
booleanlast_message
stringlast_updated_at
integer <int64>max_timestamp_ns
required
integer <int64>min_timestamp_ns
required
integer <int64>row_count
required
integer <int64>size_bytes
required
integer <int64>started_at
integer <int64>status
required
stringtable_id
required
integerupload_uuid
required
stringfile_bytes, database, or table; unparseable multipart; invalid or empty Parquet; malformed column_metadata; column type or mapping mismatch; or a missing time column.data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/restoreList restores
Lists every restore for the cluster, newest first, including in-flight and completed restores.
Requires an admin (operator) token or admin user. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
curl --request GET \
"https://localhost:8181/api/v3/enterprise/restore" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
restores
required
object[]data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/restoreStart a restore
Registers and asynchronously starts a restore from a named backup. Returns a restore_id handle for tracking and cancellation.
Restores run asynchronously. Poll Get a restore to track progress. Only one restore can run cluster-wide at a time; if a restore is already running, this endpoint returns 409 Conflict.
Requires an admin (operator) token. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
Request body required
application/jsonbackup_name
required
string{
"backup_name": "nightly-backup"
}curl --request POST \
"https://localhost:8181/api/v3/enterprise/restore" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{"backup_name":"nightly-backup"}'Responses
restore_id
required
stringstatus
required
string{
"restore_id": "01J8X9Z0ABCDEF",
"status": "in_progress"
}backup_name is empty.data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/restore/{id}Get a restore
Reports a restore’s state by restore_id. Reads the persisted manifest, so it works for in-flight and completed restores.
Requires an admin (operator) token or admin user. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
Parameters
Path parameters
id
required
stringrestore_id returned when the restore started.curl --request GET \
"https://localhost:8181/api/v3/enterprise/restore/{id}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
backup_name
required
stringcompleted_at
string <date-time>created_at
required
string <date-time>restore_id
required
stringstatus
required
stringtotal_files
required
integer <int64>total_size_bytes
required
integer <int64>{
"backup_name": "nightly-backup",
"completed_at": null,
"created_at": "2025-06-16T03:00:00Z",
"restore_id": "01J8X9Z0ABCDEF",
"status": "in_progress",
"total_files": 128,
"total_size_bytes": 524288000
}data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/restore/{id}Cancel a running restore
Cancels an in-flight restore by restore_id.
Requires an admin (operator) token or admin user. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node.
This endpoint is only available in InfluxDB 3 Enterprise.
Parameters
Path parameters
id
required
stringrestore_id returned when the restore started.curl --request DELETE \
"https://localhost:8181/api/v3/enterprise/restore/{id}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/export/databasesList databases available for export (beta)
Returns a list of databases that have compacted data available for Parquet export.
Beta: This endpoint requires the performance upgrade preview (
--use-pacha-treeflag). The performance upgrade preview is a beta feature and should not be used for production workloads.
curl --request GET \
"https://localhost:8181/api/v3/export/databases" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
string/api/v3/export/tablesList tables available for export (beta)
Returns a list of tables in a database that have compacted data available for Parquet export.
Beta: This endpoint requires the performance upgrade preview (
--use-pacha-treeflag). The performance upgrade preview is a beta feature and should not be used for production workloads.
Parameters
Query parameters
db
required
stringcurl --request GET \
"https://localhost:8181/api/v3/export/tables?db=DB" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
string/api/v3/export/window_dataExport window data as Parquet (beta)
Downloads compacted data for the specified windows as a tar archive containing Parquet files.
Beta: This endpoint requires the performance upgrade preview (
--use-pacha-treeflag). The performance upgrade preview is a beta feature and should not be used for production workloads.
Parameters
Query parameters
db
required
stringtable
required
stringwindows
string2026-01-15,2026-01-16).
If omitted, exports all available windows.curl --request GET \
"https://localhost:8181/api/v3/export/window_data?db=DB&table=TABLE" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
string/api/v3/export/windowsList compacted windows for a table (beta)
Returns a list of compacted 24-hour UTC windows for a table. Each window represents a time range of compacted data that can be exported as Parquet.
Beta: This endpoint requires the performance upgrade preview (
--use-pacha-treeflag). The performance upgrade preview is a beta feature and should not be used for production workloads.
Parameters
Query parameters
db
required
stringtable
required
stringcurl --request GET \
"https://localhost:8181/api/v3/export/windows?db=DB&table=TABLE" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
string/api/v3/rolescurl --request GET \
"https://localhost:8181/api/v3/roles" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
/api/v3/roles_by_name/{roleName}Get a role by name
Returns the role with the specified name.
Requires a token or user with permission to read roles.
This endpoint is only available in InfluxDB 3 Enterprise. User authentication is a preview feature enabled by setting --without-user-auth false.
Parameters
Path parameters
roleName
required
stringcurl --request GET \
"https://localhost:8181/api/v3/roles_by_name/{roleName}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
createdAt
required
integer <int64>description
stringid
required
integer <int64>isRequiredRole
required
booleanname
required
stringupdatedAt
required
integer <int64>{
"createdAt": 1717000000,
"id": 1,
"isRequiredRole": false,
"name": "read-write",
"updatedAt": 1717000000
}data
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/roles/{id}/permissionsGet a role's permissions
Returns the permissions granted to the role with the specified ID.
Requires a token or user with permission to read roles.
This endpoint is only available in InfluxDB 3 Enterprise. User authentication is a preview feature enabled by setting --without-user-auth false.
Parameters
Path parameters
id
required
integer <int64>curl --request GET \
"https://localhost:8181/api/v3/roles/{id}/permissions" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
permissions
required
object[]data
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/row_delete_requestsParameters
Query parameters
db
stringtable
stringdisposition
stringmin_sequence
integermax_sequence
integerinclude_progress
booleancurl --request GET \
"https://localhost:8181/api/v3/row_delete_requests" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
/api/v3/row_delete_requestscurl --request POST \
"https://localhost:8181/api/v3/row_delete_requests" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
/api/v3/row_delete_requests/{seq}/abortAbort a pending row-delete request
Aborts a pending row-delete request identified by its sequence number. Returns the updated request with a disposition of aborted.
Requires a token or user with delete permission on the database that the row-delete request targets.
This endpoint is only available in InfluxDB 3 Enterprise.
Parameters
Path parameters
seq
required
integer <int64>Request body required
application/jsonreason
required
string{
"reason": "Predicate was too broad"
}curl --request POST \
"https://localhost:8181/api/v3/row_delete_requests/{seq}/abort" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{"reason":"Predicate was too broad"}'Responses
abort_reason
stringaborted_at
integer <int64>completed_at
integer <int64>created_at
required
integer <int64>db_id
required
integer <int64>db_name
required
stringdb_name_stale
required
booleandelete_predicate
required
stringdisposition
required
stringpending, completed, or aborted.max_time
integer <int64>min_time
integer <int64>progress
stringsequence
required
integer <int64>table_id
required
integer <int64>table_name
required
stringtable_name_stale
required
boolean{
"abort_reason": "Predicate was too broad",
"aborted_at": 1717000100,
"created_at": 1717000000,
"db_id": 1,
"db_name": "sensors",
"db_name_stale": false,
"delete_predicate": "room = 'kitchen'",
"disposition": "aborted",
"sequence": 42,
"table_id": 3,
"table_name": "home",
"table_name_stale": false
}Request failed. Possible reasons:
- Invalid database name
- Malformed request body
- Invalid timestamp precision
data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/userscurl --request GET \
"https://localhost:8181/api/v3/users" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
/api/v3/usersRequest body required
application/jsoncurl --request POST \
"https://localhost:8181/api/v3/users" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json"Responses
/api/v3/users_by_oauth_id/{oauth_id}Get a user by OAuth identity-provider ID
Returns the user associated with the specified OAuth identity-provider ID. Requires the server to be configured with an OAuth validator.
Requires a token or user with permission to read users.
This endpoint is only available in InfluxDB 3 Enterprise. User authentication is a preview feature enabled by setting --without-user-auth false.
Parameters
Path parameters
oauth_id
required
stringcurl --request GET \
"https://localhost:8181/api/v3/users_by_oauth_id/{oauth_id}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
createdAt
required
integer <int64>deletedAt
integer <int64>displayName
stringoauthId
stringoperatorToken
stringrequiresPasswordReset
booleanupdatedAt
required
integer <int64>userId
required
integer <int64>username
string{
"createdAt": 1717000000,
"displayName": "Jane Smith",
"requiresPasswordReset": false,
"updatedAt": 1717000000,
"userId": 1,
"username": "jsmith"
}data
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/users/{id}curl --request GET \
"https://localhost:8181/api/v3/users/{id}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
/api/v3/users/{id}/require-password-resetRequire a user to reset their password on next login
Marks the specified user as requiring a password reset. The user must set a new password before they are able to authenticate and receive a token.
Requires a token or user with permission to update users.
This endpoint is only available in InfluxDB 3 Enterprise. User authentication is a preview feature enabled by setting --without-user-auth false.
Parameters
Path parameters
id
required
integer <int64>curl --request POST \
"https://localhost:8181/api/v3/users/{id}/require-password-reset" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
requiresPasswordReset set to true.createdAt
required
integer <int64>deletedAt
integer <int64>displayName
stringoauthId
stringoperatorToken
stringrequiresPasswordReset
booleanupdatedAt
required
integer <int64>userId
required
integer <int64>username
string{
"createdAt": 1717000000,
"displayName": "Jane Smith",
"requiresPasswordReset": false,
"updatedAt": 1717000000,
"userId": 1,
"username": "jsmith"
}data
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/users/{id}/rolesList all roles assigned to a user
Lists all roles assigned to the specified user.
Requires a token or user with permission to read users.
This endpoint is only available in InfluxDB 3 Enterprise. User authentication is a preview feature enabled by setting --without-user-auth false.
Parameters
Path parameters
id
required
integer <int64>curl --request GET \
"https://localhost:8181/api/v3/users/{id}/roles" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
items
required
object[]data
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/users/{id}/rolesReplace all roles assigned to a user
Replaces all role assignments for the specified user with the provided list of role IDs. Roles not included in the request are removed from the user.
Requires a token or user with permission to update users.
This endpoint is only available in InfluxDB 3 Enterprise. User authentication is a preview feature enabled by setting --without-user-auth false.
Parameters
Path parameters
id
required
integer <int64>Request body required
application/jsonroleIds
required
integer[]{
"roleIds": [
1,
2
]
}curl --request PUT \
"https://localhost:8181/api/v3/users/{id}/roles" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{"roleIds":[1,2]}'Responses
items
required
object[]Request failed. Possible reasons:
- Invalid database name
- Malformed request body
- Invalid timestamp precision
data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/readycurl --request GET \
"https://localhost:8181/ready" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
Was 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.