MCP Gateway
ApiAuthentication

Refresh access token

Issue a new access token using a valid refresh token cookie. Returns the new token and updates the access_token cookie.

POST
/api/v1/auth/refresh
refresh_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/auth/refresh"
{
  "access_token": "string",
  "expires_at": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}