Jwt

List the JWT tokens of a user

GET https://api.tiledesk.com/v3/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)

Example
..

Revoke a JWT token by JTI (JWT identifier)

DELETE https://api.tiledesk.com/v3/jwt/history/:jti

Path Parameters

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

Headers

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

Response (200)

Example

Revoke a JWT token by id

DELETE https://api.tiledesk.com/v3/jwt/history/id/:id

Path Parameters

  • id (string) — The JWT identifier

Headers

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

Response (200)

Example

Related:

Last updated 2 years ago

Direct link to this section: https://developer.tiledesk.com/apis/rest-api/jwt#list-the-jwt-tokens-of-a-user

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