Refresh access token
POST/auth/token/refresh/
Allows clients to obtain a new access token using a previously issued refresh token. This mechanism supports session continuation without requiring the user to re-authenticate.
Request
- application/json
Body
refresh stringrequired
A valid refresh token.
Responses
- 200
- 400
- 401
Returns a new access token.
- application/json
- Schema
- Example (from schema)
Schema
access string
New JWT access token
{
"access": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
The refresh token is invalid or has expired.
Missing or malformed refresh token.
Loading...