revokeAuthToken

Revoke an authentication token

Revokes and deletes an authentication token identified by database ID or token secret. Only users with 'Manage Security' permission can use this function for a token they do not own.

Format

udclient [global-args...] [global-flags...]
  revokeAuthToken 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 delete auth tokens using a JSON file

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

JSON example

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

Related REST command: Revoke an authentication token.