Refresh the access token using a refresh token
The refresh token from a previous authentication
New authentication tokens
401 - Invalid or expired refresh token
import { refreshToken } from "@cpod/sdk";const newTokens = await refreshToken(storedRefreshToken); Copy
import { refreshToken } from "@cpod/sdk";const newTokens = await refreshToken(storedRefreshToken);
Refresh the access token using a refresh token