Skip to content
Get started

Refresh

auth.token.refresh(TokenRefreshParams**kwargs) -> TokenRefreshResponse
POST/api/auth/token/refresh/

Takes a refresh type JSON web token and returns an access type JSON web token if the refresh token is valid.

ParametersExpand Collapse
refresh: str
minLength1
ReturnsExpand Collapse
class TokenRefreshResponse:
access: str
refresh: str
Refresh
from overmind_lab import OvermindLab

client = OvermindLab()
response = client.auth.token.refresh(
    refresh="x",
)
print(response.access)
{
  "access": "access",
  "refresh": "refresh"
}
Returns Examples
{
  "access": "access",
  "refresh": "refresh"
}