# Jwt

## List the JWT tokens of a user

GET <https://panel.smartifyai.in/api/jwt/history>

Query Parameters

* sortField (string) — what field to sort the results by.
* direction (string) — sort direction: 1 or -1. Return the results in ascending or descending order. *defaults to desc*
* page (number) — what page of results to fetch. defaults to first page.

Headers

* Authorization (string) — authorization token. Basic Auth or JWT

Response (200)

<details>

<summary>Example</summary>

```
..
```

</details>

***

## Revoke a JWT token by JTI (JWT identifier)

DELETE <https://panel.smartifyai.in/api/jwt/history/:jti>

Path Parameters

* jti (string) — The JTI Json Web Token identifier.

Headers

* Authorization (string) — authorization token. Basic Auth or JWT

Response (200)

<details>

<summary>Example</summary>

```
..
```

</details>

***

## Revoke a JWT token by id

DELETE <https://panel.smartifyai.in/api/jwt/history/id/:id>

Path Parameters

* id (string) — The JWT identifier

Headers

* Authorization (string) — authorization token. Basic Auth or JWT

Response (200)

<details>

<summary>Example</summary>

```
..
```

</details>

***

Related:

* [Events](/events.md) (Previous)
* [Labels](/labels.md) (Next)

Last updated 2 years ago

Direct link to this section: <https://developer.smartifyai.in/apis/rest-api/jwt#list-the-jwt-tokens-of-a-user>

Privacy policy: <https://tiledesk.com/privacy.html>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.smartifyai.in/jwt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
