latestOpenAPI 3.1.0Apache License Version 2.02026-08-17498525913.3 KB

40169ccdec5c

admin-controller

Get the JWT Settings object (getJwtSettings)

Get the JWT Settings object that contains JWT token policy, etc.

Available for users with 'SYS_ADMIN' authority.

get/api/admin/jwtSettings

Response

OK

tokenExpirationTimeinteger

The JWT will expire after seconds.

refreshTokenExpTimeinteger

The JWT can be refreshed during seconds.

tokenIssuerstring

The JWT issuer.

tokenSigningKeystring

The JWT key is used to sing token. Base64 encoded.

Example response

{
  "tokenExpirationTime": 9000,
  "refreshTokenExpTime": 604800,
  "tokenIssuer": "thingsboard.io",
  "tokenSigningKey": "dkVTUzU2M2VMWUNwVVltTUhQU2o5SUM0Tkc3M0k2Ykdwcm85QTl6R0RaQ252OFlmVDk2OEptZXBNcndGeExFZg=="
}