Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This REST service creates a new user alias token for the currently logged-in user. By default, this token will be valid for 48 hours after it is created, unless it is invalidated.

Code Block
GET - /data/services/tokens/issue

...

Code Block
GET - /data/services/tokens/issue/user/{username}

Parameters:

{username}Required path parameter. Enter a valid username

Response:

Code Block
{
  "alias": "string",
  "xdatUserId": "string",
  "secret": "string",
  "singleUse": boolean,
  "estimatedExpirationTime": timestamp,
  "timestamp": timestamp,
  "enabled": boolean,
  "created": timestamp,
  "id": integer,
  "disabled": integer
}

...