apitoken show

Prev Next

This command displays details of a specific API token.

Usage

apitoken show --id ID

Required Parameters

--id ID

Specifies the token to display.

Example

vcli: admin> apitoken show --id 0MivGn7o
+-----------------+---------------------+
| ID              | 0MivGn7o            |
| Name            | admin_api_token     |
| Owner           | admin               |
| Expiry-date     | 2024-10-15 12:40:42 |
| Last-used       | 2024-10-12 18:34:19 |
| Revoked         | True                |
| Revocation-time | 2024-10-14 16:00:20 |
+-----------------+---------------------+

Command Output

ID

Token ID

Name

Token name

Owner

Token owner

Expiry-date

The token's expiration date.

Last-used

The time when the token was last used to authenticate to the VMS REST API.

Revoked

True if the token has been revoked. False otherwise.

Revocation-time

The time at which the token was revoked, if applicable.