authentication
Authentication

Refresh Token

Refresh access token using refresh token.

Args: request: Refresh token request session: Database session

Returns: New tokens

Raises: UnauthorizedError: If token is invalid or expired

put/api/v1/auth/tokens/current

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/auth/tokens/current
  • Auth: none declared

Request body

refresh_tokenstring required

Response

Successful Response

access_tokenstring required
refresh_tokenstring required
token_typestring

Changes

No recorded changes to this operation across all 1 revision of this API.