st2 apikey disable <key-or-id>
Disable an existing api key
Arguments
Name | Description |
---|---|
key-or-id | Key or ID |
Options
Name | Description |
---|---|
-h, --help | Show this help and exit |
-t, --token <TOKEN> | Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default |
-k, --key <KEY> | If result is type of JSON, then print specific key-value pair; dot notation for nested JSON is supported |
-j, --json | Print output in JSON format |
-y, --yaml | Print output in YAML format |