Terminates the API session.
For a command group overview, issue: zowe ejes api -h
Usage
zowe ejes api term [options]
EJES Connection Options
-
--protocol
| --prot
(string)
-
Protocol used to access (E)JES server.
Default value: https
Allowed values: http, https, list, help
-
--host
(string)
- The (E)JES server host name.
-
--port
(number)
-
The (E)JES server port.
Default value: 443
-
--user
(string)
- Mainframe (E)JES user name, which can be the same as your TSO login.
-
--password
| --pass
| --pw
(string)
- Mainframe (E)JES password, which can be the same as your TSO password.
-
--reject-unauthorized
| --rejectunauthorized
| --ru
(boolean)
-
--base-path
| --basepath
| --bp
(string)
- The base path for your API mediation layer instance. Specify this option to prepend the base path to all (E)JES resources when making REST requests.
-
--color-scheme
| --scheme
| --cs
(string)
-
Accessibility option: Specify the name of a color scheme. User scheme files may also be created and specified to provide better contrast or to favor easier to see colors. For a how-to, use "zowe ejes emulate batch --helpApp scheme-info". Zowe ejes log stream ignores this option as it outputs plain text by default, only colorizing when ANSI color options are specified.
Allowed values: dark, light, powershell, nono, none, user-scheme-file, list, help
Default value: dark
-
--no-color
| --nocolor
| --nc
(string)
- Accessibility option: Specify to prevent colorization of the CLI. Same effect as defining NO_COLOR or FORCE_COLOR=0.
Profile Options
Examples
- Terminate an existing session by specifying the session on the --cookie option. No output is returned if the transaction completes without error.
Example:
* `$ zowe ejes api term --cookie "EJESWEB_54761=0F6E5A...;path=/EjesWeb;Secure;HttpOnly"`