esacli generateToken
Use the esacli generateToken command to generate token for the IBM® Electronic Service Agent.
Synopsis
esacli generateToken {[-f ]}
Description
The esacli generateToken command enables you to generate an access token that can be used to update the settings of ESA, once the ESA is activated.
Options
- -f | --force
- Generates token, even if token already exists.
Exit status
The following table contains the codes that are returned by this command.0
: The operation completed successfully.1
: IBM Electronic Service Agent instance is not running.5
: An unsupported command was specified.10
: An unsupported option was specified. Option: {option}.18
: An option was set more than once. Option: {option}.62
: Token already exists.
Examples
This example illustrates running the esacli generateToken
command.
esacli generateToken -f
Token generated successfully.
esacli generateToken
0062: Token already exists.