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

amorphic_access_tokens_PutAccessTokensID

amorphic access_tokens PutAccessTokensID

Update the access token status to active or suspended

amorphic access_tokens PutAccessTokensID [flags]

Options

      --AccessTokenPutInput string                       Optional json string for [AccessTokenPutInput]. 
-h, --help help for PutAccessTokensID
--id string Required. Access token id
--operation string Required. Operation to be performed on the token i.e, activate / deactivate / update
--putAccessTokensIdBody.Description string
--putAccessTokensIdBody.ExpirationAlertOne int32
--putAccessTokensIdBody.ExpirationAlertTwo int32
--putAccessTokensIdBody.ExpiresOn string
--putAccessTokensIdBody.Name string
--putAccessTokensIdBody.RoleId string
--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