User Tokens Enterprise
Use the User API to create and retrieve personal access tokens for the current Dremio user and delete personal access tokens for any Dremio user.
You must enable the use of personal access tokens to make API requests for user tokens.
{
"data": [
{
"tid": "98ec8f42-7764-4d9d-af5a-693f1f1cc444",
"uid": "b9dbebc7-bc3b-4d56-9154-31762ab65a43",
"label": "Tableau",
"createdAt": "2023-02-19T15:41:15.323Z",
"expiresAt": "2023-03-21T15:41:15.323Z"
},
{
"tid": "3b76a1e4-6539-46de-8f06-b7c41c71b61e",
"uid": "b9dbebc7-bc3b-4d56-9154-31762ab65a43",
"label": "Test Nessie Source",
"createdAt": "2023-03-02T19:39:52.159Z",
"expiresAt": "2023-04-01T19:39:52.159Z"
},
{
"tid": "9376ef58-7b4c-2419-b1cb-a4ce4c53dfa7",
"uid": "b9dbebc7-bc3b-4d56-9154-31762ab65a43",
"label": "Feature Testing",
"createdAt": "2023-03-07T14:47:08.211Z",
"expiresAt": "2023-09-03T14:47:08.211Z"
}
]
}
User Tokens Attributes
data Array of Object
Information about the user's tokens. Each object in the data array describes a different token of the user.
Attributes of the data Object
tid String (UUID)
Unique identifier of the token.
Example: 98ec8f42-7764-4d9d-af5a-693f1f1cc444
uid String (UUID)
Unique identifier of the user.
Example: b9dbebc7-bc3b-4d56-9154-31762ab65a43
label String
User-provided name of the token.
Example: Tableau
createdAt String
Date and time that the token was created, in UTC format.
Example: 2023-02-19T15:41:15.323Z
expiresAt String
Date and time that the token will expire, in UTC format.
Example: 2023-03-21T15:41:15.323Z