latestOpenAPI 3.1.0Apache License Version 2.02026-08-17498525913.3 KB

40169ccdec5c

login-endpoint

Refresh user JWT token data

Method to refresh JWT token. Provide a valid refresh token to get a new JWT token.

The response contains a new token that can be used for authorization.

X-Authorization: Bearer $JWT_TOKEN_VALUE

post/api/auth/token

Request body

{"stackTrail":"paths:/api/auth/token:post:requestBody:content:application/json:schema:properties:refreshToken","oasType":"schema","type":"unknown"}

Response

OK

tokenstring required

JWT token

refreshTokenstring required

Refresh token

Example response

{
  "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZW5hbnRAdGhpbmdzYm9hcmQub3JnIi...",
  "refreshToken": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZW5hbnRAdGhpbmdzYm9hcmQub3JnIi..."
}