DELETE /user/{id}/token/{tid}

Deletes a specific personal access token for a user, based on the user ID and token ID.

[info] Enterprise Edition only

Syntax

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

Request Input

N/A

Response Output

Return boolean Success/Failure.

Response codes

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'

results matching ""

    No results matching ""