POST
/api/auth/refresh
curl \
-X POST https://lztup.toil.cc/api/auth/refresh \
-H "Content-Type: application/json" \
-d '{"refresh_token":"string"}'
Request example
{
"refresh_token": "string"
}
Request examples
{
"refresh_token": "string"
}
Response examples (200)
{
"access_token": "string",
"token_type": "string",
"scopes": [],
"expires_in": 42,
"refresh_token": "string"
}
Response examples (503)
{
"detail": "Can't connect to MySQL server on '[SERVER]'"
}
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}