On this page

    Delete a Token

    This API deletes a specific personal access token, based on the token ID.

    Note:
    Enterprise Edition only

    Syntax

    DELETE /api/v3/user/{username}/token/{tid}
    

    Request Input

    N/A

    Response Output

    Return Boolean Success/Failure.

    Response Codes

    404 - PAT does not exist.

    Example: Curl

    curl --request DELETE \
      --url http://localhost:9047/api/v3/user/<username>/token/<tid> \
      --header 'authorization: _dremioha5lrg03obu079o4fkaev5e4r8n'