Reissue an access token with a refresh token
/api/v1/auth/reissueReissue an access token using the Refresh Token returned by Issue Token.
Use this endpoint when your current access token is expired or about to expire.
The response also contains a new refresh_token. Always replace the stored refresh token with the new value and use it for the next reissue.
If the refresh token itself has expired, call Issue Token again with your API account credentials.
Send the Refresh Token through Bearer token authentication.
{
"access_token": "string",
"refresh_token": "string",
"token_type": "Bearer",
"expires_in": 3600
}const response = await fetch('http://{{EDGE_IP}}:8100/api/v1/auth/reissue', {
method: 'GET',
headers: {
"Authorization": "Bearer YOUR_REFRESH_TOKEN"
}
});
const data = await response.json();