---
title: "The user renews access token and refresh token"
method: POST
path: "/login/refreshToken"
tags: ["User"]
---

# The user renews access token and refresh token

`POST /login/refreshToken`

## Request body

- RenewTokenRequest
  - `refreshToken` string — A currently valid refresh token.

## Response `200`

Access token and refresh token updated successfully

- AccessTokenResponse
  - `token_type` string
  - `access_token` string
  - `expires_on` string
  - `refresh_token` string

## Other responses

- `default` — Error * 401 - Invalid or expired refresh token

---

[API](https://skmtc.net/azure/apis/flightpredictionservice.md) · [All operations](https://skmtc.net/azure/apis/flightpredictionservice/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/flightpredictionservice/versions/967f6db1431c/schema)
