Page tree

Versions Compared

Key

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

...

Issue A New User Alias Token

This REST service creates a new user alias token for the currently logged-in user.

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

Parameters: None, but requires an authenticated session to function


Response:
Returns an alias token object for the logged-in user account

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


Issue A New User Alias Token For Another User

This REST service creates a new user alias token for a different user. This endpoint can only be used by users with site admin access.

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
}


Validate A User Alias Token

...