The keys delete command allows you to delete an existing API key from your Crossmint project. To use it, run the following command from your terminal
crossmint keys delete <key-id>
Where <key-id> is the ID of the API key you want to delete. You can get the key id by running keys list command

Example

Delete an API key:
crossmint keys delete sk_test_abcd1234
You will be prompted to confirm the deletion:
? Are you sure you want to delete this API key? This action cannot be undone. (y/N)
After confirming, you’ll see a success message:
✅ API Key deleted successfully!
Note: Once an API key is deleted, any applications or services using that key will no longer be able to authenticate with the Crossmint API.