Delete a Specific Token of a User
This API deletes a specific personal access token for a user, based on the user ID and token ID.
Note:
Enterprise Edition only
Syntax
DELETE /api/v3/user/{id}/token/{tid}
Note:
You must enable Personal Access Tokens to successfully call this API.
Request Input
N/A
Response Output
Return boolean Success/Failure.
Response codes
403
: The token user must be an admin.404
: Token with token_id does not exist for the user.
Example: Curl
curl --request DELETE \
--url http://localhost:9047/api/v3/pat/<uid>/token/<tid> \
--header 'authorization: _dremioha5lrg03obu079o4fkaev5e4r8n'
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.