Generate OTC (One Time Code) for login


This request generates a one time code that can used to login as the same user under a new session and user space. This one time code is to be used as password in the login method.

Resource

POST /me/generate_otc

Parameters

None

Payload

None

Response

Context

Authorization

User

Errors

HTTP code Xelion code Description

401

10000

The user is not authenticated.

10006

account disabled

500

11000

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

Example

Request
POST https://xelion.nl/api/v1/master/me/generate_otc
Response
{
  "otc": "02bee7b31d89334ebc98b1d218249035ffe78317"
}