Skip to main content
Version: v0.0.2 print this page

amorphic_access_tokens_PostAccessTokens

amorphic access_tokens PostAccessTokens

User creates new access token

amorphic access_tokens PostAccessTokens [flags]

Options

      --AccessTokenInput string                         Optional json string for [AccessTokenInput]. 
-h, --help help for PostAccessTokens
--postAccessTokensBody.Description string
--postAccessTokensBody.ExpirationAlertOne int32 Required.
--postAccessTokensBody.ExpirationAlertTwo int32 Required.
--postAccessTokensBody.ExpiresOn string Required.
--postAccessTokensBody.Name string Required.
--postAccessTokensBody.RoleId string Required.
--role_id string User role id

Options inherited from parent commands

      --Authorization string   
--base-path string For example: / (default "/")
--config string config file path (default "${HOME}/.config/amorphic/config.yml")
--debug output debug logs
--dry-run do not send the request to server
--hostname string hostname of the service (default "localhost")
--profile string config profile name (default "default")
--scheme string Choose from: [https] (default "https")

SEE ALSO

Auto generated by spf13/cobra on 7-Sep-2022