Renew Session Token


This request refreshes the token and extends the session’s lifetime.
The renewal token is also refreshed and should be used in the next renewal.

Resource

POST /me/renew

Parameters

None

Payload

The renewal token or the user’s password

Response

Context

Authorization

User

Errors

HTTP code Xelion code Description

400

10200

parameter is missing: client request has no payload.

10202

parameter malformed: failed to decode the password.

401

10000

The user is not authenticated.

10005

multiple logins: user is already logged in (in the same user space)

10006

account disabled

10007

password expired

10009

renew failed: server error

1002X

Invalid authentication. See exact Xelion code for more information.

500

11000

A server error occurred. See error message for more information.

Example

Request
POST https://xelion.nl/api/v1/master/me/renew
Payload
"asdf77594456f99ac8"
Response
{
  "authentication": "5944594058c3bb4b04d5c9db3072b30d56e513c13b9be4c9b2e0ae5734c6f99ac837494",
  "renewalToken": "5944594058c3bb4b04d5c9db3072b30d56e513c4",
  "validUntil": "2017-03-09 11:08:51"
}