getAuthToken

Get details for an authentication token

Returns the details for a specific authentication token identified by database ID or token secret. Only metadata for the token is returned; the token secret itself is not available. Only users with 'Manage Security' permission can use this function for a token they do not own.

Format

udclient [global-args...] [global-flags...]
  getAuthToken filename.json

Parameters

None.

Template

This command takes a JSON request string or file. Use the following template for the request:
{"token": "Authentication token ID or secret"}

Example command to get auth tokens using a JSON file

udclient -username jsmith -password passwd 
  -weburl https://deployserver.example.com:8443
  getAuthToken filename.json

JSON example

{
  "token": "194dba21-0199-cddb-1f04-4ad922fc5385"
}

Related REST command: Get details for an authentication token.