CmdID / aws / aws location
aws location delete-key
Deletes the specified API key. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--force-deleteForceDelete bypasses an API key's expiry conditions and deletes the key.--key-nameThe name of the API key to delete.