api-key revoke - Revoke API Key Command
Command Title
/api-key revoke
Description
This command allows you to revoke an existing API key, disabling its access and functionality. This is important for security if a key has been compromised or is no longer needed.
Usage
/api-key revoke
Parameters
<key>
: The specific API key you wish to revoke. This is a required text input.
Examples
-
Example 1: Revoke an API key named
abc-123-xyz
./api-key revoke key:abc-123-xyz
Notes
- Once an API key is revoked, it cannot be used again.
- Ensure you are revoking the correct key, as this action is irreversible.
FAQ
-
Q: What happens after I revoke an API key?
A: The revoked API key will immediately cease to function and can no longer be used to access any services or data it was previously authorized for.
-
Q: Can I reactivate a revoked API key?
A: No, revocation is a permanent action. If you need new access, you will need to generate a new API key.