@api_versions.wraps('2.10')
@utils.arg('name', metavar='<name>', help=_('Keypair name to delete.'))
@utils.arg('--user', metavar='<user-id>', default=None, help=_('ID of key-pair owner (Admin only).'))
def do_keypair_delete(cs, args):
 cs.keypairs.delete(args.name, args.user)

@ api_versions . wraps ( '2.10' ) @ utils . arg ( 'name' , metavar = '<name>' , help = _ ( 'Keypair name to delete.' ) ) @ utils . arg ( '--user' , metavar = '<user-id>' , default = None , help = _ ( 'ID of key-pair owner (Admin only).' ) ) def do_keypair_delete ( cs , args ) : cs . keypairs . delete ( args . name , args . user )
delete keypair given by its name .