Appearance
Refresh an admin access token (rotates the refresh token)
POST
/rest/v1/auth/admin/refresh
Returns a new access token AND a new refresh token, valid for the configured refresh lifetime from now (JWT_REFRESH_TOKEN_EXPIRY), so an active session never expires. The presented token is superseded: presenting it again within the grace window (JWT_REFRESH_TOKEN_GRACE, 60 s by default) returns the session's current refresh token instead; presenting it after that is treated as token theft and ends that session (401), not the user's sessions on other devices.
Request Body
application/json
JSON "refresh_token": "string"
{
}
Responses
Token refreshed
application/json
JSON "access_token": "string", "refresh_token": "string"
{
}