/renew

get
a new access token.

geolytix.xyz/auth/token/renew
This endpoint requires a valid access token and will return a new access token with renewed expiry.
Request
Response
Query Parameters
token
required
string
The access token which should be renewed.
200: OK
If successful a token with 120 seconds expiry will be returned.
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImRlbm5pcy5iYXVzenVzQGdlb2x5dGl4LmNvLnVrIiwiYWNjZXNzIjoiYXBpIiwiaWF0IjoxNTQxODU2NzEwfQ.fFQxuYls5560CWdnIO13vwOa229TJYSDxYCVD56y***
401: Unauthorized
Returned when trying to renew an invalid (or already expired) token.
'Invalid token'

‚Äč