pbadmin network apikey update-state
Update the API key state
pbadmin network apikey update-state [flags]
Examples
Update the API key state to APPROVED:
$ pbadmin network 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 network apikey - Manage Packet Broker API keys for networks and tenants