DELETE /user/{id}/token

Deletes all personal access tokens associated with a user, based on the user ID.

[info] Enterprise Edition only


DELETE /api/v3/user/{id}/token


You must enable [Personal Access Tokens] (../../security/ to successfully call this API.

Request Input


Response Output

Return boolean Success/Failure.

Response codes

  • 403: The token user must be an admin.
  • 404: User doesn't exist.

Example: Curl

curl --request GET \
  --url http://localhost:9047/api/v3/user/<uid>/token \
  --header 'authorization: _dremioha5lrg03obu079o4fkaev5e4r8n' \
  --header 'content-type: application/json'

results matching ""

    No results matching ""