This command modifies an API token.
Usage
apitoken modify --id ID [--name NAME] [--expiry-date EXPIRATION_TIME]
Required Parameters
| Specifies the API token to modify. |
Options
| Customizes the name of the API token. If not specified, the token is named |
| Sets the token's expiration date by specifying an amount of time from token creation until the token should expire. The expiration date is equal to the token creation date in UTC + the specified time period. Specify The maximum and default expiration time is the password expiration timeout, which is set by the Example: To set the token to expire after 180 days: |
Example
vcli: admin> apitoken modify --id SwpND4dt --name manager1token2 --expiry-date 24M