Create an authorization token

Tokens provide authorization for agents, users, and external systems or applications.


udclient [global-args...] [global-flags...]
  createAuthToken [parameters]


Table 1. Parameters
Parameter Type Required Description
user string true The user this token is associated with
expireDate string true Expiration date and time of the token, in the format MM-DD-YYYY-HH:mm
description string false Description of the authorization token
allowedIps string false Allowed IP addresses in CIDR notation, such as
restriction string false Name of id of auth token restrictions to apply to created auth token


udclient -username jsmith -password passwd 
  -user admin
  -expireDate 12-31-2020-12:00

Example response


Related REST command: Create an authorization token.