Refresh Access Token
This endpoint refreshes JWT.
HTTP Request
Section titled “HTTP Request”GET https://adelion.com/api/auth/refreshTo refresh JWT, just call endpoint without parameters.
Response
Section titled “Response”{ "UID": 1, "AccessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MDA5MjQ5NzQsImlzcyI6IlJUQi5NRSIsInVzZXJJZCI6IjEifQ.NAfquN1DOvNMILGbtVKAxaewGbMhls9qCkttd23tO3k", "ExpiresIn": 3600, "Status": "Ok"}Failure
Section titled “Failure”{ "Status": "Error", "Error": "[error description]"}| Error Code | Meaning |
|---|---|
| 401 | Unauthorized — Your access token is invalid. |
| 500 | Internal Server Error — We had a problem with our server. Try again later. |