On this page

    Delete Tokens of a User

    This API deletes all personal access tokens associated with a user, based on the user ID.

    Note:
    Enterprise Edition only

    Syntax

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

    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: 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'