pbadmin cluster apikey update-state
Update the API key state
pbadmin cluster apikey update-state [flags]
Examples
Update the API key state to APPROVED:
$ pbadmin cluster apikey update-state --key-id C5232IFFX4UKEELB --state APPROVED
Options
-h, --help help for update-state
--key-id string API key ID
--state apiKeyState API key state (APPROVED,REJECTED,REQUESTED) (default REQUESTED)
Options inherited from parent commands
--client-id string OAuth 2.0 client ID
--client-secret string OAuth 2.0 client secret
--config string config file (default is .pb.yaml, $HOME/.pb.yaml)
-d, --debug debug mode
--iam-address string address of the server "host[:port]" (default "iam.packetbroker.net:443")
--iam-password string IAM password
--iam-username string IAM username
--insecure insecure
--token-url string OAuth 2.0 token URL (default "https://iam.packetbroker.net/token")
SEE ALSO
- pbadmin cluster apikey - Manage Packet Broker API keys for clusters