Token Enterprise
Use the Token API to manage personal access tokens associated with Dremio users.
Deleting All Tokens
Delete all personal access tokens for the user sending the API request.
Method and URLDELETE /api/v3/token
curl -X DELETE 'https://{hostname}/api/v3/token' \
--header 'Authorization: Bearer <PersonalAccessToken>' \
--header 'Content-Type: application/json'
No response
Response Status Codes
204 No Content
401 Unauthorized
404 Not Found
Deleting a Single Token
Delete the specified personal access token for the specified user.
Method and URLDELETE /api/v3/user/{userName}/token/{id}
Parameters
userName Path String
Name of the Dremio user whose personal access token you want to delete.
Example: exampleuser1
id Path String (UUID)
Token ID for the personal access token you want to delete.
Example: 3eca2b0e-d122-48d6-9a97-f81b18db2380
Example Requestcurl -X DELETE 'https://{hostname}/api/v3/user/exampleuser1/token/3eca2b0e-d122-48d6-9a97-f81b18db2380' \
--header 'Authorization: Bearer <PersonalAccessToken>' \
--header 'Content-Type: application/json'
No response
Response Status Codes
204 No Content
401 Unauthorized
404 Not Found